Hi, Just a quick question - my users want to see the name of the city when they are hovering over points loaded through KML in a vector layer. I know this isn't supported, but are there plans to support such labels?
I'm thinking a different strategy might be to override/inherit the OpenLayers.Control.MousePosition class and based on coordinate changes, load the name from the closest KML feature. It doesn't need to be too accurate, but it can't be an exact match, because the mouse will never get that close to the KML coordinates. However this solution will be costly - because on every mouse move you would have to go through all the KML items and see which match... What are your ideas regarding this subject? --- Adrian Popa NOC Division Network Engineer Divizia Centrul National de Operare Retea Departament Transport IP & Metro Compartiment IP Core & Backbone Phone: +40 21 400 3099 _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
