Hi all! I've have a problem of misplacement of features and popup when adding a vector layer to a OL map with a background Google.
I just want ot add some points entered in WGS84 (by OpenLayers.Layer.Vector) to a map with a Google layer as the base layer. I've put my map in spherical Mercator, as well as the google layer and I've transformed my points in EPSG:900913 but I still have a problem! My points are displayed near the exact location, but with a slight shift. When I zoom/zoom over or if I pan in the N-S direction, points are changing of position. Until here, it seems that it is just a projection problem, but I think I'm doing right in the projection setup(?) But the most surprising is that the popup, which should be displayed on the points when clicking on it, are displayed at the exact locations, at any scale! So the position of the popup are right! If I try to transfom the points from EPSG4326 to EPSG900913, they are not displayed anymore anywhere... I've attached my stand-alone working code. This identically happen under WinXP-IE7 or FF and Ubuntu-FF. Any hints are welcome! JulienTitle: Wallonie with GoogleMaps
Wallonie with GoogleMaps
Carte dynamique OpenLayers
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
