Created
July 9, 2024 17:22
-
-
Save walkerke/8e95e910bffa84a65fa553d9757c1a27 to your computer and use it in GitHub Desktop.
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
library(mapgl) | |
maplibre( | |
style = maptiler_style("bright"), | |
center = c(-118.705, 34.027), | |
zoom = 10 | |
) |> | |
add_symbol_layer( | |
id = "trailheads", | |
source = list( | |
type = "geojson", | |
data = "https://services3.arcgis.com/GVgbJbqm8hXASVYi/arcgis/rest/services/Trailheads/FeatureServer/0/query?f=pgeojson&where=1=1"), | |
icon_image = "outdoor" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment