forked from MapComplete/MapComplete
Fix: use api.openstreetmap.org on many places, fix #1573
This commit is contained in:
parent
1930f7bb53
commit
8fccf78478
14 changed files with 36 additions and 35 deletions
|
|
@ -5,7 +5,7 @@ import OsmToGeoJson from "osmtogeojson"
|
|||
import { Feature, LineString, Polygon } from "geojson"
|
||||
|
||||
export abstract class OsmObject {
|
||||
private static defaultBackend = "https://www.openstreetmap.org/"
|
||||
private static defaultBackend = "https://api.openstreetmap.org/"
|
||||
protected static backendURL = OsmObject.defaultBackend
|
||||
private static polygonFeatures = OsmObject.constructPolygonFeatures()
|
||||
type: "node" | "way" | "relation"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue