Commit d148f2d
Get rid of unused location variable in AnnounceMovement.js
Comment out / remove call to private leaflet map function in map-feature
In AnnounceMovement.announceBounds function
Change:
visible =
mapZoom <= this._map._layersMaxZoom &&
mapZoom >= this._map._layersMinZoom &&
this._map.totalLayerBounds.overlaps(mapBounds);
To:
visible =
mapZoom <= this._map.getMaxZoom() &&
mapZoom >= this._map.getMinZoom() &&
this._map.totalLayerBounds.overlaps(mapBounds);
Change: _map._layersMaxZoom usage to _map.getMaxZoom() everywhere
Get rid of unused location variable in AnnounceMovement.focusAnnouncement
function.1 parent 13b2b41 commit d148f2d
File tree
3 files changed
+6
-9
lines changed- src
- mapml
- handlers
3 files changed
+6
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | 48 | | |
50 | 49 | | |
51 | | - | |
| 50 | + | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
78 | | - | |
79 | | - | |
| 77 | + | |
| 78 | + | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
| |||
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
89 | | - | |
90 | | - | |
91 | 88 | | |
92 | 89 | | |
93 | 90 | | |
| |||
113 | 110 | | |
114 | 111 | | |
115 | 112 | | |
116 | | - | |
| 113 | + | |
117 | 114 | | |
118 | 115 | | |
119 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments