[OpenLayers-Dev] OpenLayers map.AfterDraw event

geojoe jwolter at wisc.edu
Fri Nov 6 09:19:55 EST 2009


Christopher,

Thanks for the link.

As to my other problem - I also save the zoom level on the "moveend" event
and call "map.zoomTo(zoomLevel);" at the end of the map Init() function. 
This seems to have solved the problem.

Thanks again Christopher and Andreas for helping an infant in OpenLayers.

Joe



Christopher Schmidt-2 wrote:
> 
> On Fri, Nov 06, 2009 at 05:05:43AM -0800, geojoe wrote:
>> 
>> Andreas,
>> 
>> This seems to work except when I refresh the page I get the extent of the
>> map before the current extent. 
>> 
>> Is there another event that fires after the map draw that I could use?
>> 
>> I just started delving into OpenLayers this week.  Where can I find a
>> list
>> of all of the map events like "moveend"?  I haven't been able to find
>> them
>> in one place @
>> http://dev.openlayers.org/docs/files/OpenLayers/Map-js.html
> 
> http://dev.openlayers.org/docs/files/OpenLayers/Map-js.html#OpenLayers.Map.EVENT_TYPES
> 
>> Thanks,
>> Joe
>> 
>> 
>> 
>> 
>> 
>> -- 
>> View this message in context:
>> http://n2.nabble.com/OpenLayers-map-AfterDraw-event-tp3955274p3958625.html
>> Sent from the OpenLayers Dev mailing list archive at Nabble.com.
>> _______________________________________________
>> Dev mailing list
>> Dev at openlayers.org
>> http://openlayers.org/mailman/listinfo/dev
> 
> -- 
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
> 
> 

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



More information about the Dev mailing list