Selecting multiple areas

Martynas Majeris -

While JavaScript Maps allow only one object to be "truly" selected at any given time, there are many situations when you might need to select several objects at once.

The solution is to use showAsSelected property.

You can set this to true to any map object (area, image, etc.) either in your dataProvider or dynamically.

Such "fake" selected objects will be applied the same appearance settings as you have set for selected objects.

Here's a working demo:

Have more questions? Submit a request


Powered by Zendesk