Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webmap-sdk

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webmap-sdk

Webmap SDK

  • 2.8.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

Webmap SDK

Logo License

Javascript SDK based on React, OpenLayers and Redux.

For the previous version, please see the 1.x branch instead.

Running Project

To run the examples,

First, clone the project: git clone https://github.com/planetfederal/sdk.git

Then change into directory of cloned project: cd sdk

Create a file with the name .env in the root of your sdk directory and add your Mapbox API key in there:

MAPBOX_API_KEY=<your key here>

After this, run the following commands:

npm install - install libraries

npm run build:examples - build examples from templates

npm start - start webpack-dev-server

The last command should open your browser to a page of examples: http://localhost:3000/build/examples

Using the SDK source to develop a local project

Please read DEVELOPING.md on how to create the SDK package and link to it locally.

Troubleshooting

If npm start fails review node version, SDK targets v6.0 or greater. On OSX node install can be error prone, seems to work best when installed by Brew http://brewformulas.org/Node

Running tests

The test suite will skip a number of tests unless the canvas module has been installed.

For more details on installing canvas and other important developer notes please read DEVELOPING.md.

FAQs

Package last updated on 15 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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