Class: Overpass

ol.source. Overpass


new Overpass(options)

OSM layer using the Ovepass API

Parameters:
Name Type Description
options any
Properties
Name Type Description
url string

service url, default: https://overpass-api.de/api/interpreter

filter Array.<string>

an array of tag filters, ie. ["key", "key=value", "key~value", ...]

node boolean

get nodes, default: true

way boolean

get ways, default: true

rel boolean

get relations, default: false

maxResolution number

maximum resolution to load features

attributions string | ol.Attribution | Array.<string>

source attribution, default OSM attribution

strategy ol.loadingstrategy

loading strategy, default ol.loadingstrategy.bbox

Extends

  • ol.source.Vector

Members


_maxResolution

Max resolution to load features


_url

Ovepass API Url