diff --git a/functions/loader.api.html b/functions/loader.api.html index a963cff..fbb3fe9 100644 --- a/functions/loader.api.html +++ b/functions/loader.api.html @@ -1,60 +1,3 @@ -
Generated using TypeDoc
Main OverpassQL webpack loader function.
-the webpack loader context
-OverpassQL content
-Consumes OverpassQL source content and transforms it into a +
Main OverpassQL webpack loader function.
+the webpack loader context
+OverpassQL content
+Consumes OverpassQL source content and transforms it into a loadable JavaScript module, optionally with minification and precached GeoJSON results.
-when this
(loader context) is not provided
Generated using TypeDoc
Generated using TypeDoc
The default OpenStreetMaps properties and tags filter. +
The default OpenStreetMaps properties and tags filter. This removes everything but names and addresses.
-Key-value object containing OpenStreetMap tags
-Properties with tags other than name and address removed
- -Generated using TypeDoc
Key-value object containing OpenStreetMap tags
+Properties with tags other than name and address removed
+Generated using TypeDoc
Helper function to determine whether an object contains OpenStreetMaps +
Generated using TypeDoc
Optional
obj: null | objectThe object to check
+True when the object contains properties
+Generated using TypeDoc
Helper function to determine whether an object is a real traversible +
Generated using TypeDoc
Optional
obj: null | objectThe object to check
+True when the object is traversible
+Generated using TypeDoc
Helper function to process OpenStreetMaps GeoJSON with the supplied filter +
Helper function to process OpenStreetMaps GeoJSON with the supplied filter function. Scans the entire object at multiple levels for filtering.
-OpenStreetMaps GeoJSON object
-Optional
filter: PropertiesFilterfiltering function
-OpenStreetMaps GeoJSON object after filtering with the function
- -Generated using TypeDoc
OpenStreetMaps GeoJSON object
+Optional
filter: PropertiesFilterfiltering function
+OpenStreetMaps GeoJSON object after filtering with the function
+Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
This project is licensed under the MIT License.
See LICENSE
for more information.
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
OverpassQL Loader options.
-Optional
cachePreload and cache the Overpass API response from the query. +
OverpassQL Loader options.
+Optional
cachePreload and cache the Overpass API response from the query.
Connects to the Overpass API specified in endpoint
to execute
the query and cache the GeoJSON response in the rendered module.
Optional
esEmit an ES-style module. +
Optional
esEmit an ES-style module. (e.g. 'export default' instead of 'module.exports =')
-Optional
keepAvoid clobbering properties when caching the GeoJSON response from the +
Optional
keepAvoid clobbering properties when caching the GeoJSON response from the Overpass API.
The value has no effect when cacheGeoJSON
is not set or set to false.
Optional
osmtogeojsonOptions to pass through to the "osmtogeojson" package.
-"osmtogeojson" package: +
Optional
osmtogeojsonOptions to pass through to the "osmtogeojson" package.
+"osmtogeojson" package: https://github.com/tyrasd/osmtogeojson https://www.npmjs.com/package/osmtogeojson
The value has no effect when cacheGeoJSON
is not set or set to false.
Optional
overpassOptions to pass through to the Overpass API handler (e.g. "overpass-ts").
-"overpass-ts" package: +
Optional
overpassOptions to pass through to the Overpass API handler (e.g. "overpass-ts").
+"overpass-ts" package: https://www.npmjs.com/package/overpass-ts
-Optional
propertiesFunction to clobber properties (e.g. to remove or keep them).
+Optional
propertiesFunction to clobber properties (e.g. to remove or keep them).
The value has no effect when cacheGeoJSON
is not set or set to false.
The value has no effect when keepProperties
is set to true.
Optional
simplificationTolerance value for shape simplification. +
Optional
simplificationTolerance value for shape simplification. Function uses the "simplify-geojson" package: https://www.npmjs.com/package/simplify-geojson https://github.com/maxogden/simplify-geojson
-Optional
stripRemove comments to save space. +
Optional
stripRemove comments to save space. The function to strip comments will respect "@preserve" directives.
-Optional
stripRemove redundant whitespace to save space.
-Generated using TypeDoc
Optional
stripRemove redundant whitespace to save space.
+Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Const
Maximum permissible content size, measured in number of characters, to +
Const
Maximum permissible content size, measured in number of characters, to prevent occurrences of ReDoS (Regular expression Denial of Service).
-Generated using TypeDoc
Generated using TypeDoc
API function for Overpass JSON responses. +
- Preparing search index...
- The search index is not available
OverpassQL LoaderFunction api
API function for Overpass JSON responses. Useful if you want to implement your own way of doing it. :-)
-Parameters
---
-
--
-
query: string
Optional
opts: Partial<OverpassOptions>Returns Promise<OverpassJson>
--
-Settings
Member Visibility
Theme
Generated using TypeDoc