From 19356743acdbfb135365ebe9ef34da97a29fe4f8 Mon Sep 17 00:00:00 2001 From: ponlawat-w Date: Sat, 25 Nov 2023 14:48:48 +0700 Subject: [PATCH] 0.1.3 - Fixed typo in README --- README.md | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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",