Leaflet / Leaflet.VectorGrid

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

Not showing any map, throwing error #36

Closed skylarmt closed 7 years ago

skylarmt commented 7 years ago

I'm trying to use vector tiles in a Cordova Android app, but tiles aren't showing up, and I get the following error in the console:

Uncaught (in promise) TypeError: reader.addEventListener is not a function (19:01:35:244 | error, javascript) at (anonymous function) (www/js/Leaflet.VectorGrid.bundled.js:1676:13) at (anonymous function) (www/js/Leaflet.VectorGrid.bundled.js:1675:12)

I copy-pasted the code from the example into my app on top of the old raster tile layer code.

IvanSanchez commented 7 years ago

Hi, and thanks for taking the time to open a bug report in Leaflet.

However, in this repository we only handle bugs in "vanilla" Leaflet. This means that we do not handle bugs which are specific to frameworks such as:

Please understand that we only have the time and energy to test Leaflet in plain web browsers.

Please try to either reproduce the bug without using any frameworks, or submit a bug to the appropiate repo.