<div dir="ltr">Although this may not be of immediate use, but OpenLayers 3 has overlays that allow you to anchor arbitrary markup to a position on a map.<div><br></div><div style>Andreas.</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Sep 6, 2013 at 1:38 PM, Mikulicic, Vladimir <span dir="ltr"><<a href="mailto:Vladimir.Mikulicic@br.de" target="_blank">Vladimir.Mikulicic@br.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Przemek,<br>
<br>
this is, in my opinion a big problem of Openlayers. We got the same problem too. Before we used Bing-Maps API, and there it's normal to create HTML-Markers.<br>
I am wondering that in the OL-Community is no need for HTML Markers ....excpecially Markers which could be completly controlled.<br>
The same increddible problem, in my opinion are the Popups... its horrible to see, that the popup-background is an background-image that comes from the OL-API.<br>
<br>
But back to your Problem... we solved that ... like this:<br>
<br>
<a href="http://www.netzwolf.info/kartografie/openlayers/htmlmarker.htm" target="_blank">http://www.netzwolf.info/kartografie/openlayers/htmlmarker.htm</a><br>
<br>
This is the only Implementation i found, that deals with HTML and u can use it like Markers.<br>
<br>
Our solution with HTML-Markers is:   <a href="http://www.br.de/weather" target="_blank">http://www.br.de/weather</a>   (Map with html Markers)<br>
<br>
Greets<br>
Vladimir<br>
________________________________________<br>
Von: <a href="mailto:openlayers-dev-bounces@lists.osgeo.org">openlayers-dev-bounces@lists.osgeo.org</a> [<a href="mailto:openlayers-dev-bounces@lists.osgeo.org">openlayers-dev-bounces@lists.osgeo.org</a>]&quot; im Auftrag von &quot;Przemysław Prokopow [<a href="mailto:przem@post.pl">przem@post.pl</a>]<br>

Gesendet: Freitag, 6. September 2013 11:51<br>
An: <a href="mailto:openlayers-dev@lists.osgeo.org">openlayers-dev@lists.osgeo.org</a><br>
Betreff: [OpenLayers-Dev] Car icon and details formated with html instead of    plain text - please help me<br>
<div><div class="h5"><br>
Hi,<br>
I use OpenLayers libary in my project to display objects on a map.<br>
<br>
I wounder if anybody will be able to help me with my problem.<br>
<br>
I need to show a car icon with following details:<br>
- car name (label above a car icon)<br>
- car icon<br>
- status bar (one line bar with different color showing a status, eg. red<br>
bar means alarm, green means car is moving, grey car is parked)<br>
- car parameters (text with car speed, fuel level, distance and rpm)<br>
<br>
OpenLayers libary let you to display one icon and one plain text.<br>
There is no way to program in OpenLayers text a status bar and text above<br>
and below needs to be the same color, and to make vertical space you need to<br>
use some characters, eg. dots that looks ugly on the interface.<br>
<br>
I need to modify OpenLayers source code and implement the design as I need.<br>
Probably the way to change a OpenLayers source code would be to change in<br>
the proper place JavaScript source, so it would accept HTML instead of only<br>
plain text. Then use HTML to implement a design.<br>
<br>
Could you please advice me, where in a source code should I look to modify<br>
the code?<br>
What do you think about such modification? Is it possible and do you<br>
foreseeing any problems with it?<br>
<br>
I would greatly appreciate any advice or help from you.<br>
<br>
<br>
Przemek<br>
_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
</div></div>--------------------------------------------------------------------------------------------------<br>
Bayerischer Rundfunk; Rundfunkplatz 1; 80335 München<br>
Telefon: <a href="tel:%2B49%2089%20590001" value="+4989590001">+49 89 590001</a>; E-Mail: info@BR.de; Website: <a href="http://www.BR.de" target="_blank">http://www.BR.de</a><br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Andreas Hocevar<br>OpenGeo - <a href="http://opengeo.org/">http://opengeo.org/</a><br>Expert service straight from the developers.<br>
</div>