You only have to add a styleMap to your wfs vector layer
styleMap: new OpenLayers.StyleMap({
externalGraphic: '../img/marker.png',
graphicWidth: 20, graphicHeight: 24, graphicYOffset: -24,
title: '${tooltip}'
})
See: http://openlayers.org/dev/examples/osm-marker-popup.html
Regards,
Arnd
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von sulu
Gesendet: Montag, 4. August 2014 16:12
An: [email protected]
Betreff: [OpenLayers-Users] Display WFS-Points as markers
Hello!
I have a functioning Point-WFS-Layer which displays nicely.
But instead of Points i would like to have markes or popups at the
points-locations.
How can i iterate through the WFS-data in order to place the markers?
I could not figure out a way to geht hold of the individual features.
Cheers
Andy
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Display-WFS-Points-as-markers-tp5154974.
html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users
---
Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz
ist aktiv.
http://www.avast.com
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users