[OpenLayers-Users] Re: Select-Feature works on IE and doesn´t work on FF and Opera

nessie_1980 nessie_1980 at hotmail.com
Sat May 7 05:19:34 EDT 2011


Hi christopher!

I know this example :)
Hmmm..... so i must have a look at my code again.

first answer: i do not zoom to the extent. It only looks like that *g. I
always zoom to the same zoom level.

    var fLon = 11.07907;    // this are the coors of Nürnberg
    var fLat = 49.45440;
    var iZoom = 12;           // this is the zoomlevel i alway use

    var lonLat = new OpenLayers.LonLat(fLon,
fLat).transform(map.displayProjection,  map.projection);
    map.setCenter (lonLat, iZoom);

But i know there is a parameter which let you zoom to extent data.

second answer:
http://osgeo-org.1803224.n2.nabble.com/Trying-to-draw-a-box-on-a-map-and-get-the-coordinates-back-td4251287.html
<== lookt at this thread. This thread  will help you. I made my solution
with that thread.

Do you mean with "specific field´s table" the table on the "edit.html"?

I hope that will help you and also good luck ;)

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Select-Feature-works-on-IE-and-doesn-t-work-on-FF-and-Opera-tp6338608p6339790.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list