[OpenLayers-Users] Re: example for simple example .... reaction by panning / zooming

Andreas Hocevar ahocevar at opengeo.org
Fri Dec 16 15:18:22 EST 2011


Hi,

for pan and zoom, you can register a listener for the "moveend" event
on the map. For just zoom, it is "zoomend". And for resize, it is
"resize".

Andreas.

On Fri, Dec 16, 2011 at 5:51 PM, Jan Tappenbeck <osm at tappenbeck.net> wrote:
> hi !
>
> thanks - but i think this is not the right one !
>
> i think there must be a funktion that will be called when one off the 3
> actions will be in use.
>
> aren't there events to be request for panning / zoom / resize ???
>
> regards Jan :-)
>
> Am 16.12.2011 17:36, schrieb Andreas Hocevar:
>
>> http://openlayers.org/dev/examples/fullScreen.html maybe?
>>
>> Andreas.
>>
>> On Fri, Dec 16, 2011 at 5:18 PM, Jan Tappenbeck<osm at tappenbeck.net>
>>  wrote:
>>>
>>>
>>>
>>>  hi !
>>>
>>> i search an example with a reaction of paning / zooming / rezise the
>>> window
>>> !
>>>
>>> can someone help me?
>>>
>>> regards Jan :-)
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>>
>>
>>
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


More information about the Users mailing list