I have dropbox with several equations (i.e km, m, cm). Initially map loaded with km values.
<div leaflet style="height: 800px; width: 100%"
[leafletOptions]="options"
(leafletMapReady)="onMapReady($event)"
[leafletBaseLayers]="baseLayers"
[leafletMarkerCluster]="markerClusterData"
[leafletMarkerClusterOptions]="markerClusterOptions"
(leafletMarkerClusterReady)="markerClusterReady($event)">
</div>
If user selects meter, I would like to reload/refresh map with new calculations (i.e km*1000). Mainly, would like to update popup and legend, but it is fine to full reload of the map. How to emit event to reload the map with new values? Thank you