Socket
Socket
Sign inDemoInstall

@targomo/googlemaps

Package Overview
Dependencies
10
Maintainers
3
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @targomo/googlemaps

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


Version published
Weekly downloads
218
increased by9%
Maintainers
3
Install size
2.45 MB
Created
Weekly downloads
 

Readme

Source

targomo-js-googlemaps

Google Maps extensions for targomo-js

The Targomo Googlemaps 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.

Standard Polygons

Google Maps Polygons

Inverse Polygons

Google Maps Inverse Polygons

API Key

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

Regions

The Targomo API is available in many regions. For all available endpoints, see our availability map

Getting started

Usage in TypeScript/ES6 Environments

Install via npm:

npm install @targomo/googlemaps

Example usage for polygon layer

  const layer = new tgm.googlemaps.TgmGoogleMapsPolygonOverlay(map) // Create layer, by passing google map object to constructor

  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 detailed overviews of Targomo's services, along with code examples and demos is available at https://www.targomo.com/developers/documentation/javascript/.

Reference docs available here.

Keywords

FAQs

Last updated on 23 Mar 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc