[OpenLayers-Users] Pop-up and GML/KML/ ... layers
Jacolin Yves
yjacolin at free.fr
Wed Feb 6 08:12:41 EST 2008
Hi Pierre,
Following this example, I have to parse my GML to find the data somewhere I
want to show on my tooltips. Is it the "normal" way? Is it possible to get it
with something like "feature.data.<fieldName>" to display it in the pop-up ?
Am I clear? I hope so :)
Y.
Le Wednesday 06 February 2008 14:02:48 Pierre GIRAUD, vous avez écrit :
> Are you drawing features in a Vector-type layer ?
> If so, is this example usefull ?
> http://openlayers.org/dev/examples/select-feature-openpopup.html
>
> Regards,
> Pierre
>
> On Feb 6, 2008 1:02 PM, Jacolin Yves <yjacolin at free.fr> wrote:
> > Hi list,
> >
> > I would like to test the pop-up feature in openlayers. If I add a GML,
> > KML or some other type of layer. How can I easily retrieve data from the
> > GML, KML, after clicking on the map ?
> >
> > Do I need to retrieve the latLong from the click event, then parse the
> > GML, and then build the content of the pop-up? Or can I retrieve data
> > from the GML layer loaded in OL? An another method?
> >
> > Could you provide some easy exemple for this?
> >
> > Sorry if my question seems obvious. I am new in Javascript OO :)
> >
> > Regards,
> >
> > Y.
> > --
> > Yves Jacolin
> > ---
> > http://softlibre.gloobe.org
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
--
Yves Jacolin
---
http://softlibre.gloobe.org
More information about the Users
mailing list