[OpenLayers-Users] Load Tile on Mouse Stop?

Dyck, Wayne DyckW at wsdot.wa.gov
Wed Apr 15 18:13:07 EDT 2009


Brain,

Really cool application. Could you register a "moveend" event and have
your tiles redrawn at that point? For example,

map.events.register("moveend", map, redrawTiles);
function redrawTiles(evt){ 
  // Code to redraw the tiles here
}

http://dev.openlayers.org/docs/files/OpenLayers/Events-js.html

 
 
Wayne Dyck
Interactive Communications
Washington State Department of Transportation
(360) 705-7898
DyckW at wsdot.wa.gov



More information about the Users mailing list