<div dir="ltr">In montevideo.html:99 it looks like the code is using a Geometry as a feature. It might be necessary to create a OpenLayers.Feature.Vector containing the geometry, as in this example:<div><div><br></div><div><a href="http://docs.openlayers.org/library/introduction.html#adding-a-vector-marker-to-the-map">http://docs.openlayers.org/library/introduction.html#adding-a-vector-marker-to-the-map</a><br><div><span style="color:rgb(51,51,51);background-color:rgb(238,255,204)"><br></span></div><div><span style="color:rgb(51,51,51);background-color:rgb(238,255,204)"><br></span></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 29, 2014 at 6:05 PM, Stephen Woodbridge <span dir="ltr"><<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
I'm a little rusty working in OL, I have a map and I'm trying to read some geometry from my server and display it as a vector layer. This is just a quick throw away map for diagnostic purposes.<br>
<br>
I have the data loading, and I can see it in firebug but I can not figure out why it is not displaying.<br>
<br>
<a href="http://imaptools.com:8080/demo/montevideo.html" target="_blank">http://imaptools.com:8080/<u></u>demo/montevideo.html</a><br>
<br>
Load the page then click [Update Route] button to load the data ans display it (only it is not displaying).<br>
<br>
This should be loading some vectors in the bottom section of the map around the "B" in yellow.<br>
<br>
Yes, this is an old version, OL 2.10, but that should not matter as I'm doing the same sort of this on OL 2.9 and it was working there.<br>
<br>
I would appreciate if someone can give me a clue as to what my problem is, beside the obvious that I should start over with newer code :)<br>
<br>
Thanks,<br>
-Steve<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org" target="_blank">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/openlayers-<u></u>users</a><br>
</blockquote></div><br></div>