Fix bad endpoint (#316)
This commit is contained in:
@@ -425,7 +425,7 @@ void GLFWView::onKey(GLFWwindow *window, int key, int /*scancode*/, int action,
|
||||
|
||||
auto &style = view->map->getStyle();
|
||||
if (!style.getSource("states")) {
|
||||
std::string url = "https://docs.mapbox.com/maplibre-gl-js/assets/us_states.geojson";
|
||||
std::string url = "https://maplibre.org/maplibre-gl-js-docs/assets/us_states.geojson";
|
||||
auto source = std::make_unique<GeoJSONSource>("states");
|
||||
source->setURL(url);
|
||||
style.addSource(std::move(source));
|
||||
|
||||
Reference in New Issue
Block a user