[OpenLayers-Users] Dynamically load content based on focus

Jesse Bushkar apt94jesse at gmail.com
Tue Oct 20 22:11:56 EDT 2009


I'm trying to load content based on where the map's focus is.  For example,
if the state of New York is shown at a certain zoom level, show x content.
That content could be a layer or (preferably) html that is external from the
map.  This could be used ads or geographic content or whatever else.

I'm thinking that the onScreen function may be a starting point, but that
could be tough if there are a LOT of points and different content.

Any direction would be appreciated.  Thanks.

Jesse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091020/237f928c/attachment.html


More information about the Users mailing list