[OpenLayers-Users] bounds
Kenny France
kenny at xarex.com
Tue Nov 10 09:06:53 EST 2009
Hi All,
I am trying to get the BBox of the current view by clicking a link
The following works at requesting the file
var layer = new OpenLayers.Layer.Vector("POIs", {
strategies: [new OpenLayers.Strategy.BBOX({resFactor:
1.1})],
protocol: new OpenLayers.Protocol.HTTP({
url: "textfile.php",
format: new OpenLayers.Format.Text()
})
})
And it returns
Textfile.php?bbox=0.502699952,-36.9792000164,49.654700048,-20.1855999836
I would like to somehow click a link and just alert this,
Do you think it's possible?
K-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091110/90e9a685/attachment.html
More information about the Users
mailing list