Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#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>

</MapGroup>

I tried this with our good old friend the sheboygan sample and had the same issue.

Attachments (4)

overlap_lagging_and_not_updating_sheboygan.jpg (96.2 KB ) - added by zspitzer 14 years ago.
fusion mapguide ticket 428.mgp (7.4 KB ) - added by zspitzer 14 years ago.
fusion mapguide ticket 428 fixed.mgp (7.5 KB ) - added by zspitzer 14 years ago.
working version
mapguide_rc4_fusion_428_error.jpg (29.1 KB ) - added by zspitzer 14 years ago.
map group alignment problem

Download all attachments as: .zip

Change History (11)

by zspitzer, 14 years ago

comment:1 by zspitzer, 14 years ago

Resolution: invalid
Status: newclosed

doh <Options> should be inside extenstions

by zspitzer, 14 years ago

working version

comment:2 by zspitzer, 14 years ago

Milestone: Future2.2
Resolution: invalid
Status: closedreopened

There is a regression with RC3 of MapGuide 2.2, the attached fixed MGP no longer works. RC2 fusion with MapGuide RC3 does work

comment:3 by madair, 14 years ago

Resolution: fixed
Status: reopenedclosed

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 zspitzer, 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!

by zspitzer, 14 years ago

map group alignment problem

comment:5 by zspitzer, 14 years ago

Resolution: fixed
Status: closedreopened

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 madair, 14 years ago

Resolution: fixed
Status: reopenedclosed

fixed in OpenLayers now. Tile origin corner was set to bottom-left when it should be top-left for MapGuide tile server.

comment:7 by zspitzer, 14 years ago

tested the fix, it works

Note: See TracTickets for help on using tickets.