On Thu, Apr 8, 2010 at 8:38 AM, usha madhuri <life.madh...@yahoo.com> wrote:
>
> I am doing a project using Openlayers API with Google Maps as my base layer.
> I got a problem while adding a  vector layer(kml layer) or even just a
> linestring on google maps(base layer on openlayers API). The vector layer is
> not fixed with the map and moving while I am panning the map. I have tried
> different combinations but couldn't end up with a proper solution.

Hi.

You should use sphericalMercator. See:
<http://docs.openlayers.org/library/spherical_mercator.html>

Cheers,

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemo...@camptocamp.com
http://www.camptocamp.com
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to