[mapguide][MG97][Modified] Base layer has wrong initial visibility in EMap
Walt Welton-Lair
walt.welton-lair at autodesk.com
Sat Mar 11 03:14:49 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:
---------------------------------------------------------------------
-- Resolution Description set to new value:
Code fix has been submitted.
-- Resolution set to new value:
Submitted
-- 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.
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().
-- Artifact Status changed:
Old value:
Assigned
New value:
Resolved
---------------------------------------------------------------------
This message was automatically generated by Project Tracker.
More information about the Mapguide_issues
mailing list