[OpenLayers-Users] Tooltip Name City...?

Christopher Schmidt crschmidt at metacarta.com
Wed Aug 29 08:05:24 EDT 2007


On Wed, Aug 29, 2007 at 03:19:55AM -0700, meinc wrote:
> 
> I looked at the OpenLayers.Marker API and can not see in which way I have to
> use
> it to enable tooltips. Furthermore the only markers that are provided are
> icons.
> I don't see a text option.
> 
> Since GeoJSON is now available may you explain in which way it helped or
> will help you to enable tooltips?
> Can you provide a code example?

It doesn't. There is no code in OpenLayers to do a tooltip like you are
looking for -- the closest thing that is available is popups. Patches
welcome.

http://trac.openlayers.org/ticket/751 might be a place to start.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list