mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-04-05 19:30:21 +00:00
Merge branch 'dev'
This commit is contained in:
@@ -523,10 +523,7 @@ export class RoutingControls {
|
|||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
e.target.queryRenderedFeatures(e.point, {
|
e.target.queryRenderedFeatures(e.point, {
|
||||||
layers: this.layers
|
layers: [...this.layers.values()].map((layer) => layer.id),
|
||||||
.values()
|
|
||||||
.map((layer) => layer.id)
|
|
||||||
.toArray(),
|
|
||||||
}).length
|
}).length
|
||||||
) {
|
) {
|
||||||
// Clicked on routing control, ignoring
|
// Clicked on routing control, ignoring
|
||||||
|
|||||||
Reference in New Issue
Block a user