From 296ce07394e77faa882bef31a267d62748e8d783 Mon Sep 17 00:00:00 2001 From: cjbd Date: Mon, 17 Mar 2025 16:24:42 +0800 Subject: [PATCH] fix glfw platform feature state demo (#3313) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- platform/glfw/glfw_view.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/platform/glfw/glfw_view.cpp b/platform/glfw/glfw_view.cpp index 7d688718d..4c11ccf27 100644 --- a/platform/glfw/glfw_view.cpp +++ b/platform/glfw/glfw_view.cpp @@ -482,9 +482,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://maplibre.org/maplibre-gl-js-docs/assets/" - "us_states.geojson"; + std::string url = "https://maplibre.org/maplibre-gl-js/docs/assets/us_states.geojson"; auto source = std::make_unique("states"); source->setURL(url); style.addSource(std::move(source));