[OpenLayers-Users] Mouseover should show attributes from a database

Arnd Wippermann arnd.wippermann at web.de
Mon Nov 3 12:30:47 EST 2008


for non feature layers, ie WMS layers, there is an OpenLayers example
http://openlayers.org/dev/examples/hover-handler.html
 
Arnd Wippermann

  _____  

Von: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] Im
Auftrag von Rahn Hanno (rahn)
Gesendet: Montag, 3. November 2008 10:22
An: users at openlayers.org
Betreff: [OpenLayers-Users] Mouseover should show attributes from a database



Hello list,

 

I have a problem and perhaps somebody can help me. I want to realise a
mouseover event like it is used in many of the examples. If you move the
mouse over the map the coordinates will be shown inside. 

 

Now, I will use this, but instead of the coordinates I will show some
attributes from a database. My map shows different districts. If I move the
mouse over one district, the name of this should be shown. The name ist
inside a database table. 

I dont know if it is possible and I dont have an idea how I can realise it.
Perhaps somebody have already realise something about this and can help me a
little bit.

 

A lot of thanks for all your fantastic help. 

 

Greetings

Hanno Rahn

 

 

------------------------------------------

Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik

ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche
Ressourcen 

Fachstelle Geoinformatik 

Grüental, Postfach CH-8820 Wädenswil 

Tel +41 (0)58 934 5592

Fax +41 (0)58 934 5580 

hanno.rahn at zhaw.ch 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20081103/b1d6d0e7/attachment.html


More information about the Users mailing list