[OpenLayers-Trac] [OpenLayers] #1590: Markers with arbitrary HTML content
OpenLayers
trac at openlayers.org
Tue Jun 17 12:44:51 EDT 2008
#1590: Markers with arbitrary HTML content
----------------------+-----------------------------------------------------
Reporter: pspencer | Owner: pagameba
Type: feature | Status: new
Priority: minor | Milestone: 2.7 Release
Component: Marker | Version: 2.6
Keywords: | State: Needs Discussion
----------------------+-----------------------------------------------------
In some specific cases, it is useful to be able to position an arbitrary
HTML element on the map at a geographic location as a marker, without
being limited to using an Icon. Specific examples of where this may be
useful:
* your marker is composed of more than one thing, for instance a marker
plus some text over top (numbers, letters etc)
* you would like to use a SWF file as a marker
* you want to add some behaviour to your marker such as a mouseover
effect.
Marker and Icon seem pretty much intertwined at this point, so I can't
decide if it would be better to write a new Marker class or write a new
Icon class and refactor Marker to be less dependent on Icon internals.
Suggestions welcome.
--
Ticket URL: <http://trac.openlayers.org/ticket/1590>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list