This repository was archived by the owner on Sep 20, 2019. It is now read-only.
Commit fedea81
Lyndon Armitage
Addition of on delete actions for overlays
Simply add a a "cleanupAction" field to your configured layer that is a
function that takes in the layer and you can perform actions on it
before it is deleted.
This is very useful for layers like heatmaps etc that seemed to leak
memory upon being refreshed.1 parent d07de17 commit fedea81
File tree
6 files changed
+23
-11
lines changed- dist
- src/directives
6 files changed
+23
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
3908 | 3908 | | |
3909 | 3909 | | |
3910 | 3910 | | |
| 3911 | + | |
| 3912 | + | |
| 3913 | + | |
| 3914 | + | |
3911 | 3915 | | |
3912 | 3916 | | |
3913 | 3917 | | |
| |||
5050 | 5054 | | |
5051 | 5055 | | |
5052 | 5056 | | |
5053 | | - | |
| 5057 | + | |
5054 | 5058 | | |
5055 | 5059 | | |
5056 | 5060 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
156 | 160 | | |
157 | 161 | | |
158 | 162 | | |
| |||
0 commit comments