[OpenLayers-Users] Drawing a line with a pop-up information window

adidas xkadidas at gmail.com
Sun Jul 1 02:10:54 PDT 2012


When clicking on the line need to display a pop-up window with some 
information.
Now lines are drawn with xml: create node and unites in a way:

|<osm version="0.6" generator="plosm">
     <node visible="true" id="1" version="8" lat="47" lon="32"/>
     <node visible="true" id="2" version="8" lat="48.6" lon="32.4"/>
     <node visible="true" id="3" version="8" lat="49" lon="34"/>
     <way id="5" visible="true" version="8">
         <nd ref="1"/>
         <nd ref="2"/>
         <nd ref="3"/>
         <tag k="oneway" v="yes"/>
         <tag k="ported" v="1"/>
         <tag k="highway" v="primary"/>
     </way>
</osm>
|

How can this be implemented? Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120701/e83f335d/attachment.html>


More information about the Users mailing list