mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-27 02:27:18 +00:00
use map layer instead of markers for POIs
This commit is contained in:
1 parent
25bafc6bf1
commit
bfc56b02a8
6 files changed
+384
-184
No files matched your search
@@ -101,7 +101,9 @@ export class OverpassLayer {
|
||||
this.map.on('click', 'overpass', this.onHoverBinded);
|
||||
}
|
||||
|
||||
this.map.setFilter('overpass', ['in', 'query', ...getCurrentQueries()]);
|
||||
this.map.setFilter('overpass', ['in', 'query', ...getCurrentQueries()], {
|
||||
validate: false,
|
||||
});
|
||||
} catch (e) {
|
||||
// No reliable way to check if the map is ready to add sources and layers
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user