I'm not a programmer per say, but I'm technical enough to break things rather well :)
I'm trying to use the mapguide_tile_seeer.html in the context of MapGuide Enterprise 2009. I copied the script to my www folder (virtual directory root of my MapGuide site). I edited the reference to OpenLayers to be <script src="http://openlayers.org/api/OpenLayers.js"></script> I changed my main URL. I changed my bounds to match my map (note for coordinate systems with bounds that are not lat/lon don't include comma separators in the bounds values). I changed my temp scales to match those defined in my map. I changed my map definition to point to my map resource. I changed the base layer group name. My map is not in a Lat/Lon coordinate system, but Montana State Plane. My map doesn't load. I'm guessing that the line to center the map fails as it's trying to do a map.setCenter(extent.getCenterLonLat()); What do I need to modify this to for non-LonLat maps? Or is the problem likely something else. I know my path to my map is valid. Any help is appreciated. I would also like to add that maybe some comments in the top of the file to highlight the 7 required steps above might be useful in explaining how to use the file :) Dave Dave Wilson GBU CRT, Calgary Autodesk Canada Inc Ph: 403.538.3069 Fax: 403.264.1442
_______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
