[OpenLayers-Users] Google Layer shifted small dustance
boesiii
boesiii at yahoo.com
Sat Mar 23 21:33:30 PDT 2013
projection: epsg4326,
var gmap = new OpenLayers.Layer.Google( "Google Streets", // the default {numZoomLevels: 20} );
var gsat = new OpenLayers.Layer.Google( "Google Satellite", {type: google.maps.MapTypeId.SATELLITE, numZoomLevels: 22} // used to be {type: G_SATELLITE_MAP, numZoomLevels: 22} );
Sent from my iPad
On Mar 23, 2013, at 3:33 AM, "Andreas Hocevar-2 [via OSGeo.org]" <ml-node+s1560n5042484h67 at n6.nabble.com> wrote:
> Code snippet did not make it into your post.
>
> Andreas.
>
> On Fri, Mar 22, 2013 at 7:06 PM, boesiii <[hidden email]> wrote:
>
> > On my OpenLayers based map I am using a Google layer as a background and I am
> > overlying vector features from a geojson file. When I first start the map
> > the google layer is shifted slightly, but when I use the layer switcher to
> > change to the Google Satellite background, the background shifts slightly
> > and everything lines up correctly. If I use MapQuest OSM data everything
> > lines up correctly and works fine. How can I get the Google layers to line
> > up correctly at first?
> >
> > Some Code:
> >
> >
> >
> >
> > --
> > View this message in context: http://osgeo-org.1560.n6.nabble.com/Google-Layer-shifted-small-dustance-tp5042428.html
> > Sent from the OpenLayers Users mailing list archive at Nabble.com.
> > _______________________________________________
> > Users mailing list
> > [hidden email]
> > http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
>
> --
> Andreas Hocevar
> OpenGeo - http://opengeo.org/
> Expert service straight from the developers.
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
> If you reply to this email, your message will be added to the discussion below:
> http://osgeo-org.1560.n6.nabble.com/Google-Layer-shifted-small-dustance-tp5042428p5042484.html
> To unsubscribe from Google Layer shifted small dustance, click here.
> NAML
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Google-Layer-shifted-small-dustance-tp5042428p5042550.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20130323/3f7430be/attachment.html>
More information about the Users
mailing list