The idea from <a href="http://trac.openlayers.org/ticket/1259">http://trac.openlayers.org/ticket/1259</a><br>{{{<br>You could create a selectStyle that could be passed to Control.SelectFeature quite easily: create a style object, read the "<span class="searchword1">highlight</span>" styles, create a FidFilter rule for every feature (or groups of features with the same style), use the according "<span class="searchword1">highlight</span>" style as symbolizer for the rule, and add the rule to the style object<br>
}}}<br><br><a href="http://helmi03.com">helmi03.com</a><br><br><div class="gmail_quote">On Tue, Nov 3, 2009 at 12:59 AM, Adrian Popa <span dir="ltr"><<a href="mailto:adrian_gh.popa@romtelecom.ro">adrian_gh.popa@romtelecom.ro</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello everyone,<br>
<br>
Sorry if this has already been discussed on the list (didn't really<br>
check), but I would like to know if there is a solution (or at least a<br>
plan to implement a feature) that "somehow" highlights (visually) the<br>
elements that have been loaded through KML - in contrast to the<br>
elements displayed previously.<br>
<br>
I am working at a view that displays alarms on top of the map, and if<br>
there is a large number of alarms, one more alarm coming every 2 minutes<br>
will not catch the attention of the operator...<br>
<br>
I need a mechanism to somehow color/animate symbols loaded through KML<br>
which were not previously on the map. Symbols which dissapear between<br>
layer refreshes are not important to me. At the next refresh cycle, the<br>
highlighted symbols would no longer be highlighted (because they already<br>
exist on the map).<br>
<br>
I have a way to load KMLs periodically, avoiding the cache, but I'm<br>
missing the "highlight" mechanism.<br>
<br>
Hope I have presented my request in an understandable manner, and hope<br>
there is a solution. Maybe a property on the KML layer indicating if an<br>
item is new or not...<br>
<br>
Regards,<br>
Adrian<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
</blockquote></div><br>