[OpenLayers-Users] Add popup to GML with marker!

Walter Lorenzetti lorenzetti at faunalia.it
Mon Dec 10 06:28:51 EST 2007


Hi everybody,

I've a problem with a GML layer:
I add to my map a new GML layer and for to put a icon istead the normal
vectorial circle
I extend default vector layer style:

 var style_mark = OpenLayers.Util.extend({},
OpenLayers.Feature.Vector.style['default']);
     style_mark.graphicWidth = 16;
     style_mark.graphicHeight = 16;
     style_mark.graphicOpacity = 1;
     style_mark.externalGraphic = "/webgis/openlayers/stable/icon.png";

Now I've to add I popup to this mark but I don't know I can...
Is possible to do that or is necessary parser the GML file and put n
markers with popup?

bye and thanks

Walter

-- 
Please no  .doc, .xls, .ppt, .dwg:
https://www.faunalia.it/dokuwiki/doku.php?id=public:OpenFormats

Walter Lorenzetti
email+jabber: lorenzetti at faunalia.it
www.faunalia.it
Cell: (+39) 347-6597931  Tel+Fax: (+39) 0587-213742
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy




More information about the Users mailing list