Bonjour,
J'utilise OpenLayers et j'aiemrais afficher une fenetre affichant des messages sur la carte openLayers
Voici un exemple de ce que je voudrais faire : http://www.annuaires.justice.gouv.fr/annuaires-12162/annuaire-des-juridictions-21798.html
j'aimerais afficher un cadre comme la fenetre où il y écrit "Affiner votre recherche..."
J'ai 'essayé de faire :
<div id="map" class="smallmap span8">
<div style="width: 513.75px; position: relative; top: 80px; left: 0px; z-index: 1005 !important; background: #dfeffc">Test</div>
</div>
et la j'ai bien une petite fenêtre qui s’affiche sur la carte mais y a un décalage en haut de la carte.
savez vous comment afficher du texte ou du contenu html sur la carte ?
Merci ;)
English Translation (based on Google Translate. Improvements welcome!)
Hello,
I use OpenLayers and I would like to display a window that displays messages on the OpenLayers map
Here is an example of what I would do: http://www.annuaires.justice.gouv.fr/annuaires-12162/annuaire-des-juridictions-21798.html
I would like to display a frame as the window where it's write "Affiner votre recherche ..."
I'm trying to do:
<div id="map" class="smallmap span8">
<div style="width: 513.75px; position: relative; top: 80px; left: 0px; z-index: 1005 !important; background: #dfeffc">
Test
</ div>
</ div>
and I have a small window that appears on the map but there is a gap at the top of the map.
Do you know how to display text or html content on the map ?
thank you;)