[Mapguide-trac] [mapguide-trac] #2086: Maestro API - RuntimeMap DataExtent is Not Dynamic

MapGuide Open Source trac_mapguide at osgeo.org
Fri Jul 27 05:34:05 PDT 2012


#2086: Maestro API - RuntimeMap DataExtent is Not Dynamic
----------------------------+-----------------------------------------------
   Reporter:  crispinatime  |       Owner:  jng        
       Type:  defect        |      Status:  new        
   Priority:  medium        |   Milestone:  Maestro-5.0
  Component:  Maestro       |     Version:             
   Severity:  major         |    Keywords:             
External_id:                |  
----------------------------+-----------------------------------------------
 In trying to get the actual current MapGuide viewable window extent the
 properties of the RuntimeMap appear to be static and not what is expected.

 See brief discussion:
 http://osgeo-org.1560.n6.nabble.com/Current-Map-DataExtent-via-Server-API-
 tt4990992.html

 To replicate:

 From the Maestro Source SVN launch the \SDK\SamplesWeb project

 If required, update to .NET 4 and add the 2.4 WebLayout manager to
 global.asax

 Add a breakpoint at line 52 of ToggleLayerVisibility.aspx.cs

 Run the project in debug mode and click on "Toggle Layer"

 When the breakpoint is hit the properties of the RuntimeMap object (rtMap)
 can be inspected - note the DataExtent, continue

 Zoom and pan the map - repeat click on "Toggle Layer" and observe values
 at breakpoint

 Expected Result - property of the runtime map reflects current map view
 extents

 Actual result - value of DataExtent is same as MapExtent and does not
 change

 If this is replicated I think the impact is high as it is not possible to
 determine what the user is viewing without an ugly client-side JavaScript
 parameter exchange

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2086>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list