OpenLayers OpenLayers

Ticket #1511 (assigned bug)

Opened 4 months ago

Last modified 1 week ago

Mapguide Tiled Layers are displayed using wrong co-ordinates

Reported by: openlayers Assigned to: madair (accepted)
Priority: blocker Milestone: 2.8 Release
Component: Layer.MapGuide Version: SVN
Keywords: Cc:
State:

Description

The tiled maps with Mapguide layers do not get correctly set up and report incorrect co-ordinates.

I have attached a modified copy of the mapguide sample, you will need a local mapguide server for this to work. (check the server url is correct)

Attachments

mapguide.html (4.4 kB) - added by openlayers on 04/12/08 01:23:09.
modified mapguide example with both tiled and untiled examples
mapguide_test.html (5.1 kB) - added by madair on 07/15/08 13:33:33.

Change History

04/12/08 01:23:09 changed by openlayers

  • attachment mapguide.html added.

modified mapguide example with both tiled and untiled examples

04/27/08 03:02:38 changed by zspitzer

  • summary changed from Mapguide Tiled map layers are not correctly inited to Mapguide Tiled Layers are displayed using wrong co-ordinates.
  • version changed from 2.6 RC2 to SVN.
  • milestone set to 2.7 Release.

04/28/08 16:48:30 changed by pspencer

  • owner set to madair.

Reassigning to Mike to validate this bug.

07/15/08 13:33:33 changed by madair

  • attachment mapguide_test.html added.

07/15/08 15:36:33 changed by madair

  • status changed from new to assigned.

new version of test file attached. It looks like the original extents were incorrect, these were adjusted to the values returned by Fusion loadMap (which is the same as reported by MapGuide Studio) and the coordinates now report correctly.

The OpenLayers.DOT_PER_INCH value must be set to 96, but adjusting the INCHES_PER_UNIT values don't seem to make any difference.

Not sure what the best way to fix this in OL. Arbitrarily setting the OL DPI value would likely mess up other layers.

Untiled MapGuide layers can set the DPI value in the map image request, but it appears to be a fixed value for MapGuide tiles

07/28/08 12:37:11 changed by crschmidt

  • milestone changed from 2.7 Release to 2.8 Release.