Skip to content

Openlayers: import PNG as memory bitmap and use as feature

Notifications You must be signed in to change notification settings

mgurzixo/ol-bitmap

Repository files navigation

Create an OpenLayers feature from a memory bitmap obtained from bundling a PNG on the browser.

See corresponding stackoverflow question.

This example uses Vite, OpenLayers and a vite plugin for importing raw data.

To start a development server (available at http://localhost:5173):

cd ol-bitmap
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

Openlayers: import PNG as memory bitmap and use as feature

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published