Closed paulovieira closed 2 months ago
I don't view using await
as inherently more correct than using .then()
in this context of a simple script using the IIFE script-includes. Is there another reason why this would be better?
Fixed formatting in #438 , thanks.
Some small changes to make the this important example more clear:
await p.getHeader()
If there is interest I can make these same changes in the other 2 examples (maplibre_raster_dem.html and leaflet.html)