cancel
Showing results for 
Search instead for 
Did you mean: 

Script to add checkboxgroup to a geomap

Dhiwa
Participant
0 Kudos

I want to add a checkboxgroup to a geomap. I tried the below code but it's not working

GeoMap_1.getLayer(1).getDataSource().setDimensionFilter("Organizational_Level_1",CheckboxGroup_1.getSelectedKeys());

Can anyone help me to resolve this issue

View Entire Topic
Dhiwa
Participant
0 Kudos

when i run the below script in optimized mode, it works fine

GeoMap_1.getLayer(0).getDataSource().setDimensionFilter("Organizational_Level_1",CheckboxGroup_1.getSelectedKeys());