New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

query-remote-tiles

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

query-remote-tiles

Find nearest features to a point in a remotely hosted vector tile source.

latest
Source
npmnpm
Version
0.2.2
Version published
Maintainers
1
Created
Source

Query-Remote-Tiles

Performs a point-in-polygon lookup inside a hosted vector tile source. This can be used in Node or in the browser.

Usage

queryMbtiles.queryLngLat(tilesUrl, [lng, lat], zoom, layer, { options });
const queryRemoteTiles = require('query-mbtiles');
result = await queryRemoteTiles.queryLngLat('http://example.com/tiles/{z}/{x}/{y}.pbf', [145.13, -37.97], 14, 'mylayer');
console.log(result.features[0].properties);

Keywords

mbtiles

FAQs

Package last updated on 05 Oct 2022

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