[OpenLayers-Users] Adding Text to map.... possible?

Andreas Hocevar ahocevar at opengeo.org
Fri Mar 20 14:47:27 EDT 2009


Hi Peter,

On Fri, Mar 20, 2009 at 1:16 AM, plen <peteralen at earthlink.net> wrote:
> I am using the OpenLayers drawing controls to add points, lines, and
> polygons.  Our customer would like to also add text to the map, in addition
> to the other objects.  This would allow the user to add some text (ex.
> "Drive straight on this road") and place it on the map (pin it to a geo
> coordinate).  I have not seen anything that would indicate that this is
> possible but I wanted to throw it out there to see if I may have missed a
> possible solution.

There is a patch providing this functionality which needs some more
work: http://trac.openlayers.org/ticket/1895

I am currently working on it to make the feature available in the 2.8
release of OpenLayers, which is scheduled for April.

Regards,
Andreas.

-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.



More information about the Users mailing list