Is there any way, such as a program, to know or determinate which control call which control? This is for having a better understanding about how OL works? Thanks.
2007/10/4, Christopher Schmidt <[EMAIL PROTECTED]>: > > On Thu, Oct 04, 2007 at 11:39:07AM -0400, Michael Quentel wrote: > > What part of OL API would I find the code (actual class and function) > > pertaining to panning on mouse drag (when user does mouse down on map, > > then drags mouse, then releases mouse, causing map to pan). > > OpenLayers.Handler.Drag handles the mouse events. This is used by the > OpenLayers.Control.DragPan to actually move the map. > > > I'm > > especially interested in finding the code that triggers another request > > for a new tile or set of tiles from the server upon mouse drag. > > Well, that's a totally different section of the code :) The DragPan > control calls setCenter on the map, which calls moveTo on the Layers, > which then (sometimes) request snew tiles. > > Regards, > -- > Christopher Schmidt > MetaCarta > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
