[mapguide][MG97][Modified] Base layer has wrong initial visibility in EMap

Walt Welton-Lair walt.welton-lair at autodesk.com
Sat Mar 11 03:16:18 EST 2006


You can view the artifact detail at the following URL:

    https://mapguide.osgeo.org/servlets/Scarab/id/MG97

Type:
Defect

Artifact ID:
MG97 (Base layer has wrong initial visibility in EMap)

Modified by:
Walt Welton-Lair
waltweltonlair (walt.welton-lair at autodesk.com)

The following modifications were made to this artifact:
---------------------------------------------------------------------

-- Developer Notes set to new value:
Old value:
This is a server bug.  The layer visibility ends up being false in the EMap when it should be true.

The bug is that the server is using MgLayer::IsVisible() to set the initial visibility for the layer.  The IsVisible() method takes into account the current scale, which is not what we want here.  The code should instead be using MgLayer::GetVisible().

New value:
This is a server bug.  The layer visibility ends up being false in the EMap when it should be true.

The bug is that the server is using MgLayer::IsVisible() to set the initial visibility for the layer.  The IsVisible() method takes into account the current scale, which is not what we want here.  The code should instead be using MgLayer::GetVisible().

Same rule applies to layer groups.




---------------------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Mapguide_issues mailing list