Opened 11 years ago

Last modified 11 years ago

#599 new defect

Changing maps using MapMenu widget w/Commercial layers freezes map

Reported by: steveg Owned by: madair
Priority: P2 Milestone: Future
Component: Widgets Version: 2.0
Severity: Major Keywords:
Cc: Browser: All
External ID: Operating System: All
state: New

Description

As originally reported by renardchanhttp://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]],PROJECTIONPopular 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.

Change History (2)

comment:1 by steveg, 11 years ago

Maybe related: Changeset 2526 http://trac.osgeo.org/fusion/changeset/2526

comment:2 by jng, 11 years ago

Do you have a sample package for this with the problematic Application Definition and/or Map Definitions? One that works against the Sheboygan dataset?

Note: See TracTickets for help on using tickets.