[OpenLayers-Users] Map move event
Bart van den Eijnden (OSGIS)
bartvde at osgis.nl
Tue Jan 23 02:45:29 EST 2007
Hi,
an example would be:
map.events.register( 'moveend', this, yourfunctiongoeshere);
For a complete list of events see Map.js.
To get the extent of the Map:
map.getExtent().left
same for top, bottom and right.
Best regards,
Bart
--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl
--------- Oorspronkelijk bericht --------
Van: Ishikawa Hiroshi <ishikawa at geowork.co.jp>
Naar: OpenLayers ML <users at openlayers.org>
Onderwerp: [OpenLayers-Users] Map move event
Datum: 23/01/07 00:39
> Dear All,
>
> I'd like to catch map move events that happen when map is dragged ,zoomed
etc.
> For example I allways get the center or extent of the map.
> Could you tell me how to do it?
>
> Actually, what I want to do is to create a request to obtain a GeoRSS xml
which contains items located in the same extent as the map.
> So I need the center or extent of the map.
>
> Thanks,
> --
> Ishikawa Hiroshi
> ishikawa at geowork.co.jp
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
More information about the Users
mailing list