You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To specify a callback method as widget's option ([layer.customize](https://js.devexpress.com/Documentation/16_2/ApiReference/Data_Visualization_Widgets/dxVectorMap/Configuration/layers/#customize)
170
+
option of dxVectorMap).
171
+
172
+
```html
173
+
<dx-vector-map>
174
+
...
175
+
<dxi-layer
176
+
...
177
+
[customize]="customizeLayers">
178
+
</dxi-layer>
179
+
</dx-vector-map>
180
+
```
181
+
182
+
Be careful: the callback method will lost the context of the component, so if method use a context-dependent functionality we can
183
+
bind the context to this method in a constructor explicitly.
0 commit comments