overpass-frontend
Version:
A JavaScript (NodeJS/Browser) library to easily access data from OpenStreetMap via Overpass API or from an OSM File. The objects can directly be used with LeafletJS or exported to GeoJSON. Data will be cached in the browser memory.
16 lines (12 loc) • 340 B
JavaScript
const EvaluatorFunction = require('../EvaluatorFunction')
module.exports = class EvaluatorFunctionParantheses extends EvaluatorFunction {
eval (context) {
return this.parameters[0].eval(context)
}
toValue () {
return this.parameters[0].toValue()
}
compileLokiJS () {
return this.parameters[0].compileLokiJS()
}
}