Find a file
Chandler Swift a762f2b9a4
Add base map code
This was built with `npm create ol-app my-app`.
2023-07-03 00:20:36 -05:00
.github Add base map code 2023-07-03 00:20:36 -05:00
.gitignore Add base map code 2023-07-03 00:20:36 -05:00
index.html Add base map code 2023-07-03 00:20:36 -05:00
main.js Add base map code 2023-07-03 00:20:36 -05:00
package-lock.json Add base map code 2023-07-03 00:20:36 -05:00
package.json Add base map code 2023-07-03 00:20:36 -05:00
README.md Add base map code 2023-07-03 00:20:36 -05:00
style.css Add base map code 2023-07-03 00:20:36 -05:00
vite.config.js Add base map code 2023-07-03 00:20:36 -05:00

maps.chandlerswift.com

All filterable by time frame

Americana theme?

OpenLayers + Vite (from npm create ol-app my-app's README)

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.