Leaflet / Leaflet.VectorGrid

Display gridded vector data (sliced GeoJSON or protobuf vector tiles) in Leaflet 1.0.0
598 stars 194 forks source link

Add polyfill for fetch function in IE / Safari 10 #98

Closed aidangarza closed 7 years ago

aidangarza commented 7 years ago

The _getVectorTilePromise method uses a native function 'fetch' to make ajax requests for tiles. This function is not supported in IE or Safari 10 and below. Adding this polyfill to the project expands its browser support.

IvanSanchez commented 7 years ago

LGTM.