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:
http://docs.openlayers.org/library/introduction.html#adding-a-vector-marker-to-the-map On Mon, Sep 29, 2014 at 6:05 PM, Stephen Woodbridge <[email protected] > wrote: > Hi All, > > 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. > > I have the data loading, and I can see it in firebug but I can not figure > out why it is not displaying. > > http://imaptools.com:8080/demo/montevideo.html > > Load the page then click [Update Route] button to load the data ans > display it (only it is not displaying). > > This should be loading some vectors in the bottom section of the map > around the "B" in yellow. > > 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. > > 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 :) > > Thanks, > -Steve > _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users >
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
