New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mapbox-gl-controls

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mapbox-gl-controls - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

LICENSE.md

8

package.json
{
"name": "mapbox-gl-controls",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",
"homepage": "https://bravecow.github.io/mapbox-gl-controls/",
"scripts": {

@@ -25,3 +27,7 @@ "lint": "eslint src",

"@turf/distance": "6.0.1"
},
"repository": {
"type": "git",
"url": "https://github.com/bravecow/mapbox-gl-controls.git"
}
}

21

README.md

@@ -15,7 +15,18 @@ # Mapbox Controls

### Examples
### Ruler Control
* **[Ruler](https://bravecow.github.io/mapbox-gl-controls/#p-ruler)**
* **[Styles](https://bravecow.github.io/mapbox-gl-controls/#p-styles)**
* **[Zoom](https://bravecow.github.io/mapbox-gl-controls/#p-zoom-compass)**
* **[Compass](https://bravecow.github.io/mapbox-gl-controls/#p-zoom-compass)**
Ruler is similar to Google Maps Ruler. With draggable points.
![Ruler](ruler.png)
### Style Control
Google maps-like styles switcher.
![Styles](styles.png)
### Zoom and Compass Controls
Zoom and Compass are split to two different controls. Compass is visible only after map has been rotated.
![Compass](compass.png)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc