Skip to content
#

mapbox

Here are 1,324 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

Smarter YAML front matter parser, used by metalsmith, Gatsby, Netlify, Assemble, mapbox-gl, phenomic, and many others. Simple to use, and battle tested. Parses YAML by default but can also parse JSON Front Matter, Coffee Front Matter, TOML Front Matter, and has support for custom parsers.

  • Updated Jul 11, 2021
  • JavaScript

Improve this page

Add a description, image, and links to the mapbox 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 mapbox topic, visit your repo's landing page and select "manage topics."

Learn more