mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-17 16:42:28 +00:00
fix for safari
This commit is contained in:
1 parent
5768391305
commit
8aafa26238
1 file changed
+1
-4
@@ -523,10 +523,7 @@ export class RoutingControls {
|
||||
}
|
||||
if (
|
||||
e.target.queryRenderedFeatures(e.point, {
|
||||
layers: this.layers
|
||||
.values()
|
||||
.map((layer) => layer.id)
|
||||
.toArray(),
|
||||
layers: [...this.layers.values()].map((layer) => layer.id),
|
||||
}).length
|
||||
) {
|
||||
// Clicked on routing control, ignoring
|
||||
|
||||
Reference in new issue
Block a user