Hi Arnd,

thanks a ton for your nice support, actually me neither, it's the first time I 
use that control and especially try to change it using openlayers.class. I've 
read some things here and there about the openlayers API in google and if I 
understand well (I'm not an openlayers nor javascript expert), 
openlayers.control.getfeature is a class and not a function, so I can't call it 
directly. So I must use prototype.selectBox.apply(this, arguments) instead, but 
really not sure, I hope someone can give me some suggestions here.

Also, I tried openlayers.util.extend as one of the openlayers examples, but I 
keep getting the bbox in utm.

Gery

Sent from my iBath

On Jan 31, 2013, at 18:50, "Arnd Wippermann" <[email protected]> wrote:

Hi Gery,
 
sorry, but with this i can't help. I have never used 
OpenLayers.Control.GetFeature.
 
 
perhaps you should move
 
OpenLayers.Control.myGetFeature = 
OpenLayers.Class(OpenLayers.Control.GetFeature,{
...
});
 
 
outside
 
var mycontrol = function(){
...
};
 
Arnd
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to