[OpenLayers-Users] Popup content

Christopher Schmidt crschmidt at metacarta.com
Fri Mar 28 04:52:24 EDT 2008


On Fri, Mar 28, 2008 at 09:46:41AM +0100, Simone Gadenz wrote:
> Then I added the selectFeature control to the map and when the user click on
> the gml feature a popup appear but with information such as feature name and
> area.
> 
>  I would like to have the data I saved in the feature object instead. Where
> is the content of the popup created?

In the function you copy pasted, probably called 'onFeatureSelect'. Look
for where the function 'getArea()' is called.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list