0

In angular-leaflet-directive is there a way how to update markers and paths on the map when we switch off the $watch using markersWatchOptions?

Amio.io
  • 20,677
  • 15
  • 82
  • 117

1 Answers1

1

I think you are look for something similar to this example:

http://angular-ui.github.io/ui-leaflet/examples/0000-viewer.html#/mixed/overlays-markers-nested-no-watch-example

In which, markers are updated via getDirectiveControls().

There is more about it in this issue:

https://github.com/angular-ui/ui-leaflet/issues/239

anjeludo
  • 56
  • 1
  • 7