[mapguide-users] mapguide, google maps and open layers

Rodolfo Moreno rmoreno at voxiva.com
Fri Feb 6 15:37:02 EST 2009


I have an application where I use google maps as base layer using openlayers
according to the wiki sample "display mapguide maps using openlayers".
Everthing is working OK except that the mapguide layer is being overlayed
incorrectly. It means that mapguide layer is showed lightly out of place.
In the attached images you can see the difference of positioning between the
gmaps river and the mapguide river. Even if the zoom level (578k) is the
same in the image1 and the image2 the positioning of mapguide river1
(image1) and the river2 (image2) are different with reference to the gmaps
river.

I have adjusted the scales of the maguide river like this:
var fixedScales =[9000000,5000000,2000000, 1000000, 578000, 289000, 144000,
72000, 36000, 18000, 9028 ];
In order to fix to the gmaps scale but the problem keep on.

Anyone knows how fix it?
Regards,

http://n2.nabble.com/file/n2286353/Zoom578k1.jpg 
http://n2.nabble.com/file/n2286353/Zoom578k2.jpg 



-----
Rodolfo Moreno
CivilEng

-- 
View this message in context: http://n2.nabble.com/mapguide%2C-google-maps-and-open-layers-tp2286353p2286353.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list