lasterra

Results 4 comments of lasterra

Great links, i will study them. what i was thinking is to use https://github.com/bykof/cordova-plugin-webserver and mix it with the code https://github.com/oscarfonts/mapbox-gl-cordova-offline/blob/master/src/mbtiles_source.js to return the tile Develop a plugin in android...

Mbtiles plugins are prepared to process raster tiles and i want to proces mvt/pbf vector tiles. My idea works, the only problem is that cordova-plugin-webserver only return text or files...

Yeah, code it is tricky First decode mvt to write it on disk var base64Data = res.rows.item(0).base64_tile_data; var tileByteArray = base64js.toByteArray(base64Data); var rawData = pako.inflate(tileByteArray); var unzipedbase64 = base64js.fromByteArray(rawData); var...