korywka / mapbox-controls

Monorepo for Mapbox controls
https://korywka.github.io/mapbox-controls/preview/
226 stars 51 forks source link

Use without NPM #31

Open eiiot opened 3 years ago

eiiot commented 3 years ago

I've noticed that many plugins allow users to use an api.mapbox.com URL to import the plugin into an HTML file. Is this possible with gl-controls? If so, what is the URL?

korywka commented 3 years ago

Nope, it is not possible. For zero configuration you can use https://parceljs.org/

PedroVenancio commented 1 year ago

Hi @korywka It would be great to have gl-controls available to load via a CDN service, such as unpkg, using a script tag. I hope it can be done in near future. Thanks! Best regards!

korywka commented 6 months ago

🚫 blocker mapbox issue: https://github.com/mapbox/mapbox-gl-js/issues/8676