[OpenLayers-Users] Fwd: Re: Popup over GPX track

emmexx emmexx at tiscalinet.it
Wed May 12 16:30:31 EDT 2010


Il 12/05/2010 10:18, Francesco scrisse:
> Hi,
>     in feature.attributes I have an empty object. 

You should "tell" OL to extract the attributes. There's a parameter to
set, see my example code.

>One more problem is
> how could i find the LonLat of the selected feature?

In my code it is:
f.feature.geometry.getBounds().getCenterLonLat()

bye
	maxx



More information about the Users mailing list