geojson
Here are 1,379 public repositories matching this topic...
-
Updated
Oct 31, 2021 - JavaScript
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
-
Updated
Oct 11, 2021 - JavaScript
Hello Maurits,
This is more of a request than it is an actual issue, but I think the value in this request is really high (for newcomers, especially - but not limited to).
Could you please add a COMPLETE application example of using the API (with user authentication, maybe even with the user-creation SQL script, table authorization, etc).
This would be really really helpful as a quickstart /
-
Updated
Nov 13, 2021 - TypeScript
-
Updated
Sep 23, 2021 - C++
-
Updated
Oct 25, 2021
In the event payload the return type of layer is `L.Layer? so it needs to be casted to the Layer-Type.
layer.on('pm:edit', (e) => {
if(e.shape === 'Polygon'){
(e.layer as Polygon).getLatLngs();
}
});
I think following should work too: (But not tested)
layer.on('pm:edit', (e) => {
if(e.layer instanceof L.Polygon){
(e.layer as Polygon).getLatLngs();
}
-
Updated
Oct 23, 2021 - Python
-
Updated
Oct 9, 2021 - JavaScript
-
Updated
Oct 5, 2021 - Vue
map_coords() has an obvious use case in transforming the geometry of features.
It should operate on Features and FeatureCollections, as well.
-
Updated
Mar 8, 2021 - JavaScript
-
Updated
Sep 4, 2021 - JavaScript
-
Updated
Aug 26, 2021 - Scala
-
Updated
Nov 9, 2021 - JavaScript
-
Updated
Nov 13, 2021 - Python
-
Updated
Nov 12, 2021 - Go
Improve this page
Add a description, image, and links to the geojson topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the geojson topic, visit your repo's landing page and select "manage topics."
Most our
set*APIs return a map object to allow for function call chaining, e.g.:Currently,
map.setProjectiondoesn't follow that pattern. We should update that for API consistency.Refer https://github.com/mapbox/mapbox-gl-js/blob/main/src/ui/map.js#L1020_L1027.
cc @ryanhamley