This repository was archived by the owner on Mar 9, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(mapbox): added the possibility to load geojson file
- Loading branch information
1 parent
9f84d2f
commit d2fd6d7
Showing
10 changed files
with
9,302 additions
and
8 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"sources": [ | ||
{ | ||
"id": "logo", | ||
"properties": { | ||
"type": "geojson", | ||
"data": "/features.geojson" | ||
} | ||
} | ||
], | ||
"layers": [ | ||
{ | ||
"id": "logo-layer", | ||
"type": "fill", | ||
"source": "logo", | ||
"paint": { | ||
"fill-color": ["coalesce", ["get", "fill"], "#005c7c"], | ||
"fill-opacity": 0.5 | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.