We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fc15b9 commit 1d20525Copy full SHA for 1d20525
src/App.vue
@@ -220,7 +220,7 @@ const geojsonSource = () => {
220
} else {
221
result.push(
222
new SourceVector({
223
- url: `/${file}.json`, // 第一个 GeoJSON 文件的路径
+ url: `/ol-vite-vue3/${file}.json`, // 第一个 GeoJSON 文件的路径
224
format: new GeoJSON({
225
dataProjection: "EPSG:4326",
226
featureProjection: "EPSG:3857",
0 commit comments