[fusion-trac] #315: Exception when using MapMenu widget with commercial layers

Fusion trac_fusion at osgeo.org
Thu Feb 18 14:40:40 EST 2010


#315: Exception when using MapMenu widget with commercial layers
---------------------+------------------------------------------------------
 Reporter:  liuar    |         Owner:  madair 
     Type:  defect   |        Status:  new    
 Priority:  P2       |     Milestone:  Future 
Component:  Widgets  |       Version:  1.1.1  
 Severity:  Major    |    Resolution:         
 Keywords:           |   External_id:  1273030
    State:  New      |       Browser:  All    
       Os:  All      |  
---------------------+------------------------------------------------------
Comment (by madair):

 there is an issue with the AppDef generated by Studio here:  the Sheboygan
 MapDefinition uses the EPSG:4326 (or MG equivalent) and yet the AppDef
 says EPSG:900913 for the Sheboygan layer.  In this case the Bing layer
 needs to have <sphericalMercator>false</sphericalMercator> in the
 <Extension><Options> element;  The other option is to have the Sheboygan
 layer served in 900913 and then the sphericalMercator option would be set
 to true.  The issue is that the maxExtent returned by LoadMap is in
 degrees.  ANother option is to convert EPSG:4326 maxExtent from degrees to
 meters if the sphericalMercator flag is true.

 Making that change and then everything works fine with current version of
 trunk/MG sandbox

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/315#comment:6>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer and MapGuide OS.


More information about the fusion-trac mailing list