[mapguide-users] mapguide_tile_seeder.html problems

Zac Spitzer zac.spitzer at gmail.com
Fri Dec 19 02:41:32 EST 2008


whats does alert(extent.getCenterLonLat()); shown?

z

On Fri, Dec 19, 2008 at 11:34 AM, Dave Wilson <dave.wilson at autodesk.com> wrote:
> I'm not a programmer per say, but I'm technical enough to break things
> rather well J
>
>
>
> 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 J
>
>
>
> Dave
>
>
>
> Dave Wilson
>
> GBU CRT, Calgary
>
> Autodesk Canada Inc
>
> Ph: 403.538.3069
>
> Fax: 403.264.1442
>
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>



-- 
Zac Spitzer -
http://zacster.blogspot.com
+61 405 847 168


More information about the mapguide-users mailing list