Hey everyone,<br><br>I am trying 
to draw a linestring, i know the coordinates from GPS (in a database), and show in my map but nothing,  I try with OpenLayers  new Openlayers.Geometry.LinearRing ..., but i have probles with the MAP, how i get the map  or there are functions  in GeoMoose?<br>
<br>Anyone have some suggestions?<br><br>my test code is:<br><br>----------<br><meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 3.1  (Win32)"><style type="text/css">
        <!--
                @page { margin: 2cm }
                P { margin-bottom: 0.21cm }
        -->
        </style>
<p style="margin-bottom: 0cm;">       print &quot;&lt;script&gt;&quot;;</p>
<pre>        print &quot;&lt;![CDATA[&quot;;
        print &quot;map = new OpenLayers.Map(&#39;map&#39;);&quot;;
        print &quot;var p = new OpenLayers.Geometry.Point(279496 ,8661317);
                                 GeoMOOSE.zoomToPoint(p.x,p.y,100);
                                 GeoMOOSE.addPopup(p.x,p.y,150,50,&#39;&lt;b&gt;texto:&lt;/b&gt; &lt;br/&gt; $textocalculado&#39;);&quot;;
        print &quot;var layer_style = OpenLayers.Util.extend({}, OpenLayers.Feature.Vector.style[&#39;default&#39;]);&quot;;
        print &quot;layer_style.fillOpacity = 0.2;&quot;;
        print &quot;layer_style.graphicOpacity = 1;&quot;;
        print &quot;var style_blue = OpenLayers.Util.extend({}, layer_style);&quot;;
        print &quot;style_blue.strokeColor = &#39;blue&#39;;&quot;;
        print &quot;style_blue.fillColor = &#39;blue&#39;;&quot;;
        print &quot;style_blue.graphicName = &#39;star&#39;;&quot;;
        print &quot;style_blue.pointRadius = 10;&quot;;
        print &quot;style_blue.strokeWidth = 3;&quot;;
        print &quot;style_blue.rotation = 45;&quot;;
        print &quot;style_blue.strokeLinecap = &#39;butt&#39;;&quot;;
        print &quot;var vectorLayer = new OpenLayers.Layer.Vector(&#39;Simple Geometry&#39;, {style: layer_style});&quot;;
        print &quot;var pointFeature = new OpenLayers.Feature(p, null, style_blue);&quot;;
        print &quot;var pointFeature2 = new OpenLayers.Feature(p, null, style_blue);&quot;;
        print &quot;map.addLayer(vectorLayer);&quot;;
        print &quot;vectorLayer.addFeatures([pointFeature,pointFeature2]);&quot;;
        print &quot;]]&gt;&quot;;
        print &quot;&lt;/script&gt;&quot;;              
                     print &quot;&lt;/results&gt;&quot;;        
</pre>
<br><br><br>--------<br>

<br>Thanks,<br>Dante