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

@targomo/leaflet

Package Overview
Dependencies
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@targomo/leaflet

Leaflet maps extensions for Targomo's time-based access mapping services.

  • 0.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16
decreased by-15.79%
Maintainers
3
Weekly downloads
 
Created
Source

targomo-js-leaflet

Leaflet extensions for targomo-js

The Targomo Leaflet extensions Typescript library provides extensions for visualising results obtained from the Targomo services. The project is maintained by Targomo. The lib can also be used in non-typescript environments.

API Key

Get your free API key by signing up for a Targomo account

Getting started

Usage in TypeScript/ES6 Environments

Install via npm:

npm install @targomo/leaflet

Example usage for polygon layer

  const layer = new tgm.leaflet.TgmLeafletPolygonOverlay()
  layer.addTo(map) // Add to leaflet map

  const polygonData = await targomoClient.polygons.fetch(....) // Fetch polygon data from Targomo service, see @targomo/core lib for more details
  layer.setData(polygonData)  // Visualize received data on layer
}

Docs

More Documentation is available at https://targomo.com/developers/guide/, although this still contains the documentation for the r360-js lib, until the docs are finished for this lib.

Keywords

FAQs

Package last updated on 18 Mar 2019

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