Skip to content

Look up a latitude/longitude in a remotely hosted vector tile source.

Notifications You must be signed in to change notification settings

stevage/QueryRemoteTiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

About

Look up a latitude/longitude in a remotely hosted vector tile source.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages