[OpenLayers-Users] Confuse of Move and moveend in map event

Grégory COLLIN gcollin at v3d.fr
Wed Apr 17 02:49:20 PDT 2013


Le Wed, 17 Apr 2013 06:12:22 +0200,
杨华杰 <yhjhoo at gmail.com> a écrit :

> 
> 
> I found this in the
> document.http://dev.openlayers.org/docs/files/OpenLayers/Map-js.html#OpenLayers.Map.events
> move    triggered after each drag, pan, or zoom moveend triggered
> after a drag, pan, or zoom completes
> 
> Isn't it very difficult to understand. And what's this suppose to be.
> 
> 
> 
> Regards,
> Hua Jie

Indeed,

movestart event relate to the start of the move (since you click and
start to move).
move event is when you're moving
moveend event is when you release the mouse button and so stop moving.

Regards,


More information about the Users mailing list