[OpenLayers-Users] Get viewport in server side

Eric Lemoine eric.lemoine at camptocamp.com
Mon Feb 15 02:19:30 EST 2010


On Friday, February 12, 2010, JuKiM <rifins at gmail.com> wrote:
> Hi,
> I would like to know how can I get the viewport of the map on the server side, in order to do a query to a database limiting the bounds...

Hi. You can send the return value of map.getExtent().toBBOX() to your
server code. Hope this answers your question.

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list