diff --git a/README.md b/README.md index c4c447d..75cc3c8 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ const interaction = new OSMWaySnap({ fetchBufferSize: 250, overpassEndpointURL: 'https://...' // Choose one instance from https://wiki.openstreetmap.org/wiki/Overpass_API#Public_Overpass_API_instances }); -mao.addInteraction(interaction); +map.addInteraction(interaction); ``` ### Using as CDN diff --git a/package-lock.json b/package-lock.json index c1adb98..8511572 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ol-osmwaysnap", - "version": "0.1.2", + "version": "0.1.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ol-osmwaysnap", - "version": "0.1.2", + "version": "0.1.3", "license": "ISC", "dependencies": { "ol-osmoverpass": "^0.2.0" diff --git a/package.json b/package.json index df96828..f2766d3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ol-osmwaysnap", "type": "module", - "version": "0.1.2", + "version": "0.1.3", "description": "OpenLayers Interaction Extension for Snapping Ways from OSM using Overpass API", "keywords": [ "osm",