[OpenLayers-Dev] Zoom Event

XinGang Li slinavlee at gmail.com
Wed Jan 27 03:59:48 EST 2010


layer.events.on({
                 moveend: function(e) {
                     if (e.zoomChanged) {
                       doSth();
                     }
                  }
            });


On Wed, Jan 27, 2010 at 4:56 PM, XinGang Li <slinavlee at gmail.com> wrote:

> zoomend
>
> Li XinGang
> EMail: slinavlee at gmail.com
> Blog:   avlee.cnblogs.com
> Site:    www.mapboost.org
>
>
> On Wed, Jan 27, 2010 at 4:47 PM, Dom Lehr <dominic.lehr at googlemail.com>wrote:
>
>> Hey guys,
>>
>> I tried googleing it, but I can t find it... How is the event called if
>> zoom changes?
>>
>> I wanne do sth like
>>
>> layer.events.on({
>>                  zoomchanged: function() {
>>                      doSth();
>>                   }
>>             });
>>
>> Your help is ver appreciated!
>>
>> Dom
>> _______________________________________________
>> Dev mailing list
>> Dev at openlayers.org
>> http://openlayers.org/mailman/listinfo/dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20100127/ec6e2425/attachment.html


More information about the Dev mailing list