[OpenLayers-Dev] OpenLayers map.AfterDraw event

geojoe jwolter at wisc.edu
Mon Nov 9 10:30:19 EST 2009

Being very new to OpenLayers I finally figured out how to add a control
button to the map.  I still have to figure out how to get the indices of the
layers using the layer names rather than hard coding them.

//Refresh Map control
var refreshcon = new OpenLayers.Control.Button({title: "Refreshes the
Biomass Sites.", displayClass: "olControlRefreshMap", trigger:

function myRefreshMap(){
   if( isBiomass ) {

View this message in context: http://n2.nabble.com/OpenLayers-map-AfterDraw-event-tp3955274p3973690.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.

More information about the Dev mailing list