The Wayback Machine - https://web.archive.org/web/20210731231645/https://github.com/topics/vector-tiles
Skip to content
#

vector-tiles

Here are 168 public repositories matching this topic...

stevage
stevage commented Jun 24, 2021

Motivation

I often use this pattern for GeoJSON sources:

  1. addSource('mysource', { type: 'geojson', data: { type:'FeatureCollection', features: [] }});
  2. addLayer({ id: 'mylayer', source: 'mysource' })
  3. Now fetch the actual data, manipulate it, and call setData() to set it.

I do this because:

  • I need to fetch the data asynchronously (but I don't want to hold up all my other i
1ec5
1ec5 commented Mar 22, 2018

MGLTilePyramidOfflineRegion should have a countOfTiles method that returns the number of tiles included in the tile pyramid. The implementation would rely on the mbgl::util::tileCount() function added in #9906.

This is the iOS/macOS equivalent to #11108 for Android. It would serve as a built-in alternative to mapbox/turf-swift#47 for applications already using the map SDK, including applica

editor
orangemug
orangemug commented Jan 30, 2020

'react-autocomplete' (https://github.com/reactjs/react-autocomplete) is no longer maintained and causing warnings

react-dom.development.js:12357 Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

  • Move code with side effects to componentDidMount, and set initial state in the constructor.
  • R
bagage
bagage commented Dec 26, 2019

When you try to use a column of type JSON, tegola fails:

util.go:155: 114 type is not supported. (Expected it to be a stringer type)
map.go:202: err fetching tile (z: 7, x: 64, y: 46) features: for layer (cities-point) unable to convert field [3] (string) of type (114 - json) to a suitable value: map[dates:map[2017:3044 2018:4] simplified:[]]

It would be awesome if it could be supported

Improve this page

Add a description, image, and links to the vector-tiles topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the vector-tiles topic, visit your repo's landing page and select "manage topics."

Learn more