[fusion-trac] #599: Changing maps using MapMenu widget w/Commercial layers freezes map

Fusion trac_fusion at osgeo.org
Tue Oct 15 12:53:11 PDT 2013


#599: Changing maps using MapMenu widget w/Commercial layers freezes map
-----------------------+----------------------------------------------------
   Reporter:  steveg   |       Owner:  madair
       Type:  defect   |      Status:  new   
   Priority:  P2       |   Milestone:  Future
  Component:  Widgets  |     Version:  2.0   
   Severity:  Major    |    Keywords:        
External_id:           |       State:  New   
    Browser:  All      |          Os:  All   
-----------------------+----------------------------------------------------
 As originally reported by renardchan[http://osgeo-org.1560.x6.nabble.com
 /Map-Menu-i-can-t-pan-after-select-an-another-map-tp5070445p5070778.html]:


 1) Two maps with the same vector layer in EPSG 3857 and same extents. In
 application definition, the two maps havn't commercial Map Service layers.
 ==> Map Menu works well

 2)Two maps with the same vector layer in EPSG 3857 and same extents. The
 second map have a commercial Map Service layers.
 First  I switch to the second maps with the commercial vector layer ==>
 work well but i'm not in the same coordinate.
 Second i come back to the initial map ==> here i can't pan.

 3)Two maps with the same vector layer in EPSG 3857 and same extents. Two
 maps have commercial map service. First change ==> i can't pan.

 So my problem seem to become from my maps who have commercial map service.
 Moreover my layers seems to have translation on the overview map.

 I check the coordinate system of my maps and vector layers. It's
 PROJCS["WGS84.PseudoMercator",GEOGCS["LL84",DATUM["WGS84",SPHEROID["WGS84",6378137.000,298.25722293]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Popular
 Visualisation Pseudo
 Mercator"],PARAMETER["false_easting",0.000],PARAMETER["false_northing",0.000],PARAMETER["central_meridian",0.00000000000000],UNIT["Meter",1.00000000000000]]

 Problem was duplicated with the Sheboygan map. Duplicated the map and
 transformed them to EPSG 3857 and added both maps to one fusion
 application.

 If you refresh map after the changing the map, it "unfreezes".

 A possible fix in the code would be to add a map refresh function after
 the map initially loads but may not be the most efficient if you have a
 lot of layers.

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/599>
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