@mapbox/mapbox-gl-sync-move
Advanced tools
Comparing version
# Changelog | ||
## 0.3.0 | ||
- Add `off` method for cancelling synchronization | ||
- Add `mapbox-gl` as peer dependency | ||
## 0.2.0 | ||
@@ -4,0 +9,0 @@ |
@@ -66,4 +66,5 @@ function moveToMapPosition (master, clones) { | ||
on(); | ||
return function(){ off(); fns = []; }; | ||
} | ||
module.exports = syncMaps; |
{ | ||
"name": "@mapbox/mapbox-gl-sync-move", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "Sync movement around two Mapbox GL JS maps", | ||
@@ -31,3 +31,6 @@ "main": "index.js", | ||
"tape": "^4.5.1" | ||
}, | ||
"peerDependencies": { | ||
"mapbox-gl": ">=0.32.1 <2.0.0" | ||
} | ||
} |
@@ -1,5 +0,11 @@ | ||
# mapbox-gl-sync-move [](https://circleci.com/gh/mapbox/mapbox-gl-sync-move) | ||
# @mapbox/mapbox-gl-sync-move [](https://circleci.com/gh/mapbox/mapbox-gl-sync-move) | ||
Sync movement between two or more [Mapbox GL JS](https://www.mapbox.com/mapbox-gl-js) maps. | ||
## Install | ||
``` | ||
npm install @mapbox/mapbox-gl-sync-move | ||
``` | ||
## Usage | ||
@@ -6,0 +12,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
12508
2.12%302
0.33%32
23.08%1
Infinity%7
-12.5%1
Infinity%