[fusion-dev] Wrong display of Mapguide map when BaseLayer
(OpenLayer) is off
Zak James
zjames at dmsolutions.ca
Tue Feb 9 15:05:06 EST 2010
I think this occurs because when you disable the Google layer, there is no base layer. Try setting the MapGuide layer's isBaseLayer setting to true.
zak
--
Zak James
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca
http://research.dmsolutions.ca
On 2010-02-06, at 2:17 PM, pcardinal wrote:
>
> When I close GoogleLayer in the Legend by unchecking it, the display of
> Mapguide features is erratic until the GoogleLayer is on again followed by a
> refresh. MapGuide features are PostGIS, SDF and Access data.
>
> I am using the "www\fusion\templates\mapguide\slate" directory with the
> following code in ApplicationDefinition.xml
>
> <MapSet>
> <MapGroup id="montreal">
> <InitialView>
> <CenterX>-8205000</CenterX>
> <CenterY>5709400</CenterY>
> <Scale>300000</Scale>
> </InitialView>
>
> <Map>
> <Type>MapGuide</Type>
> <SingleTile>true</SingleTile>
> <Extension>
>
> <ResourceId>Library://Greffes/Cartes/greffes.MapDefinition</ResourceId>
> <Options>
> <isBaseLayer>false</isBaseLayer>
> <projection>EPSG:900913</projection>
> </Options>
> </Extension>
> </Map>
>
> <Map>
> <Type>Google</Type>
> <sphericalMercator>true</sphericalMercator>
> <SingleTile>false</SingleTile>
> <Extension>
> <Options>
> <name>GoogleLayer</name>
> <type>G_HYBRID_MAP</type>
> </Options>
> </Extension>
> </Map>
> <Extension />
> </MapGroup>
> </MapSet>
>
>
>
> http://n2.nabble.com/file/n4526535/test1.png
>
> http://n2.nabble.com/file/n4526535/test2.png
>
> http://n2.nabble.com/file/n4526535/test3.png
> --
> View this message in context: http://n2.nabble.com/Wrong-display-of-Mapguide-map-when-BaseLayer-OpenLayer-is-off-tp4526535p4526535.html
> Sent from the Fusion Developers mailing list archive at Nabble.com.
> _______________________________________________
> fusion-dev mailing list
> fusion-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-dev
More information about the fusion-dev
mailing list