[Interest] MapboxGL offline and custom vector tiles source

maitai maitai at virtual-winds.org
Mon Dec 23 09:47:10 CET 2019


Thanks, I will have a close look.

Philippe

Le 22-12-2019 21:51, Ola Røer Thorsen a écrit :

> tor. 19. des. 2019 kl. 17:24 skrev maitai <maitai at virtual-winds.org>: 
> 
>> We would like to serve custom vector tiles, ideally though an API call 
>> or eventually a local server/stream. We don't want to add data or layers 
>> to an existing mapbox chart, but rather respond to tile queries by 
>> sending our own geojson tiles. We have already done that for OSM plugin 
>> (with raster tiles), but we don't really know where to start with 
>> concerning mapbox vector tiles.
> 
> Some tips in general for custom vector tiles that have worked for me: 
> - take a look at everything at openmaptiles.org [1] 
> - to have your Qt mapbox-gl plugin to load data from your own tile server, use the "mapboxgl.mapping.additional_style_urls" plugin parameter 
> - your own map style needs to point to your own tile server for the source data 
> 
> There are several open source mbtiles servers out there, or you can write your own and even run it as a part of your main application. 
> 
>> The tiles are not stored in a database or mbtiles, but need to be 
>> generated on request.
> 
> Maybe this here is relevant, 
> https://openmaptiles.org/docs/generate/custom-vector-from-shapefile-geojson/ 
> 
> Cheers, 
> Ola 
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
 

Links:
------
[1] http://openmaptiles.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20191223/bf96c32b/attachment.html>


More information about the Interest mailing list