#428 closed defect (fixed)
MapGroup problem with tiled and dynamic mapguide layers
Reported by: | zspitzer | Owned by: | madair |
---|---|---|---|
Priority: | P2 | Milestone: | 2.2 |
Component: | MapGuide | Version: | 2.2 - RC1 |
Severity: | Major | Keywords: | |
Cc: | Browser: | All | |
External ID: | Operating System: | All | |
state: | New |
Description
I'm using Mapguide 2.2 RC2 on windows
I am trying to combine a tiled map with a dynamic overlay, both the map definitions are in the same projection, from the same mapguide server
The problem I am having is when I zoom or pan, the dynamic layer just isn't updating, the app layer doesn't come on until i toggle it off and then on again and then it is not updated, it gets stuck as per attached screenshots
I'm using the standard mapguide template applicationDefinition with this as a mapgroup
<MapGroup id="app">
<Map>
<Type>MapGuide</Type> <SingleTile>false</SingleTile>
<Extension>
<ResourceId>Library://base.MapDefinition</ResourceId>
</Extension>
</Map> <Map>
<Type>MapGuide</Type> <SingleTile>true</SingleTile>
<Extension>
<ResourceId>Library://app.MapDefinition</ResourceId>
</Extension>
<Options>
<isBaseLayer>false</isBaseLayer> <useOverlay>true</useOverlay>
</Options>
</Map>
I tried this with our good old friend the sheboygan sample and had the same issue.
Attachments (4)
Change History (11)
by , 14 years ago
Attachment: | overlap_lagging_and_not_updating_sheboygan.jpg added |
---|
by , 14 years ago
Attachment: | fusion mapguide ticket 428.mgp added |
---|
comment:1 by , 14 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 14 years ago
Milestone: | Future → 2.2 |
---|---|
Resolution: | invalid |
Status: | closed → reopened |
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
by "no longer works" do you mean the layers don't load at all? or the original problem where the overlay doesn't follow the baselayer?
I have found an OpenLayers bug (http://trac.osgeo.org/openlayers/ticket/3160) that causes the layer to not be displayed at all and I have commit an updated OpenLayers library with this fix to the 2.2 branch [2341].
Please re-open if there is still an issue.
comment:4 by , 14 years ago
Hi Mike, it simply opens with a blank map, where with RC2, it loads and show the higher level tiled map and then the lower level dynamic map at the right scale.
Both maps diplay fine by themselves. It's only when combined in a mapgroup that it fails to display a map
Watching with Firebug, the only image requests I see being fired at the MapGuide MapAgent are legend requests.
Trevor is provided me with a new build, it works, thanks Mike!
comment:5 by , 14 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
With further testing, I found that the two maps aren't aligned correctly.
Both are in WG84, see attached image mapguide_rc4_fusion_428_error.jpg
comment:6 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
fixed in OpenLayers now. Tile origin corner was set to bottom-left when it should be top-left for MapGuide tile server.
doh <Options> should be inside extenstions