I use openlayers 2.12.
I created a form where the user can insert a bounding box, to insert to the database a new borough.
To check the
EPSG of the borough I tried the following
//ba bb bc bd came from the form var thisIsNew=new OpenLayers.Bounds(ba, bb,bc, bd).getProjection(); alert (thisIsNew);
var thisIsNew=new OpenLayers.Bounds(ba, bb,bc, bd); var newest = thisIsNew.getProjection(); alert(newest);
I never get an alert and on the console I see that "the object does not support that method", for both of the above ways.
What am I missing?
Thanks in advance