Hmm,

With MapGuide Open Source 2.2, this commercial layer stuff is built-in to
fusion. You shouldn't need to modify the index.html in any way. You only
need to modify the ApplicationDefinition

Note that with MapGuide Maestro 3.0 (currently beta 2), the fusion editor
has an easy UI to enable Google Maps. So if possible, you should use this
version of Maestro.

In summary:

1. Undo any changes you have made to your template index.html and related
files
2. Edit your ApplicationDefinition with Maestro 3.0, enabling Google Maps is
simply a case of ticking the Google Maps layers you want and plugging in the
API key.
3. Make sure your Map Definition is in the Popular Visualisation Mercator
coordinate system (cs code: WGS84.PseudoMercator, epsg: 3857), and that the
extents are re-projected to this CS as well.

- Jackie

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/google-map-integrated-but-need-to-on-off-the-legend-to-put-layer-on-original-location-tp6237144p6237408.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to