Skip to content

Vue3结合OpenLayers加载GeoJson文件实现离线版世界地图(中国详细数据)以及聚合点位(内部有免费GeoJson资源整合)

Notifications You must be signed in to change notification settings

gitboyzcf/ol-vite-vue3

Repository files navigation

OpenLayers + Vite

This example demonstrates how the ol package can be used with Vite.

To get started, run the following (requires Node 14+):

npx create-ol-app my-app --template vite

Then change into your new my-app directory and start a development server (available at http://localhost:5173):

cd my-app
npm start

To generate a build ready for production:

npm run build

Then deploy the contents of the dist directory to your server. You can also run npm run serve to serve the results of the dist directory for preview.

About

Vue3结合OpenLayers加载GeoJson文件实现离线版世界地图(中国详细数据)以及聚合点位(内部有免费GeoJson资源整合)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published