[OpenLayers-Users] print extent on map refresh

Erik Uzureau erik.uzureau at metacarta.com
Mon Jun 25 19:10:28 EDT 2007


Hi Anthony, you might want to look at the MousePosition control. With
just a few small mods, you could easily get it to display the extent
instead of the mouse's lonlat.

http://svn.openlayers.org/trunk/openlayers/lib/OpenLayers/Control/MousePosition.js

to see it in action:
http://openlayers.org/dev/examples/controls.html


ee


On 6/25/07, anthony farrant <anthony.k.farrant at gmail.com> wrote:
> Hello,
>
> I'm trying to figure out a way to print the extent of the may each
> time the map refreshes. I'm not really familiar with the javascript
> event stuff, so any suggestions welcome...
>
> Cheers!
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list