azavea / loam

Javascript wrapper for GDAL in the browser
Apache License 2.0
214 stars 16 forks source link

How to install loam without react #125

Open Deca opened 1 year ago

Deca commented 1 year ago

Hi, I'm working on a simple web app without using any framework, after the package installation I tried to import with import loam from "loam"; But at the loam.initialize(); I get an error Uncaught ReferenceError: loam is not defined

ddohler commented 1 year ago

Hey @Deca -- take a look at the demo page -- that is an example of the simplest possible way to use Loam, without a framework or bundler. I hope that helps!