[OpenLayers-Users] Enabling Panning on OpenLayers.Layer.Google with Satellite-Map

christopher.schmidt at nokia.com christopher.schmidt at nokia.com
Mon Sep 19 16:11:26 EDT 2011


On Sep 19, 2011, at 1:10 PM, ext Jürgen Dankoweit wrote:

> Hallo Chris,
> 
> thanks for your answer.
> 
> Am 19.09.2011 18:30, schrieb christopher.schmidt at nokia.com:
>> 
>> On Sep 19, 2011, at 8:53 AM, ext Jürgen Dankoweit wrote:
>> 
>> Hello to the list.
>> 
>> How to enable panning on OpenLayers.Layer.Google with G_SATELLITE_MAP?
>> Panning with OpenLayers.Layer.OSM.CycleMap works perfect.
>> I'm using OpenLayers 2.10.
>> 
>>> Set maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34)
> 
> Aaaah. Now it warks like a charm.
> Where ist this documented? I "googled" hours and did not find this...

I found it in the 'first map' documentation in:

  http://docs.openlayers.org/library/spherical_mercator.html#first-map

-- Chris


> 
> Juergen
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users



More information about the Users mailing list