[OpenLayers-Users] Highlighting changes in the KML layer

Adrian Popa adrian_gh.popa at romtelecom.ro
Mon Nov 2 11:59:04 EST 2009


Hello everyone,

Sorry if this has already been discussed on the list (didn't really 
check), but I would like to know if there is a solution (or at least a 
plan to implement a feature) that  "somehow" highlights (visually) the 
elements that have been loaded  through KML - in contrast to the 
elements displayed previously.

I am working at a view that displays alarms on top of the map, and if 
there is a large number of alarms, one more alarm coming every 2 minutes 
will not catch the attention of the operator...

I need a mechanism to somehow color/animate symbols loaded through KML 
which were not previously on the map. Symbols which dissapear between 
layer refreshes are not important to me. At the next refresh cycle, the 
highlighted symbols would no longer be highlighted (because they already 
exist on the map).

I have a way to load KMLs periodically, avoiding the cache, but I'm 
missing the "highlight" mechanism.

Hope I have presented my request in an understandable manner, and hope 
there is a solution. Maybe a property on the KML layer indicating if an 
item is new or not...

Regards,
Adrian




More information about the Users mailing list