maplibre / ngx-maplibre-gl

Angular binding of maplibre-gl
https://maplibre.org/ngx-maplibre-gl/
MIT License
65 stars 25 forks source link

remove unused polyfill fix, remove from stackblitz too #164

Closed marcjulian closed 2 months ago

marcjulian commented 2 months ago

Seems like maplibre-gl and ngx-maplibre-gl do not rely on this fix anymore:

(window as any).global = window;

I removed it from the showcase app (https://github.com/maplibre/ngx-maplibre-gl/pull/157/commits/05b5424abb260646da6eed558871f91593f82770) and the map works as expected.

This removes it from the README "How to start" and from Stackblitz examples, simplifying the setup for new angular developers.