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-

_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to