Is there a way to access multiple shapes on the mouse over event? Using the demo below, I'd like to highlight Alaska and the continental US when hovering over one of them.
2 Answers, 1 is accepted
answered on 10 Jul 2014, 07:03 AM
The existing shapes are accessible through the shape layer drawing surface (e.g. map.layers.surface).
I'll provide an alternative for the moment, as this part of the API is still unofficial and subject to change. It will be made public for the next release.
My suggestion is to store a reference to the desired shapes in the shapeCreated event. Those are live objects that will respond to changes in fill, stroke, etc.
Does this make sense?
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!