[Interest] mapboxgl plugin and glyphs
maitai
maitai at virtual-winds.org
Mon Jan 6 07:01:20 CET 2020
I saw there is a possibility to create a cache database (mapboxgl.db)
using an offline tool. Maybe this is a way to save just the glyphs I
need, without tiles?
Philippe
Le 28-12-2019 01:00, Ola Røer Thorsen a écrit :
>> 27. des. 2019 kl. 19:51 skrev maitai <maitai at virtual-winds.org>:
>>
>> Hello,
>>
>> Is there a way to specify a specific url for glyphs in mapboxgl
>> plugin?
>>
>
> Define a custom map style with those glyphs and serve it locally is
> the only way I can think of. Your server needs to serve the glyphs too
> along with the style.
>
> Cheers,
> Ola
>
>> Longer version:
>> I need to disable all access to mapbox urls, (i.e. I want to use
>> mapboxgl plugin just to load our own geojson geometries, and anyway
>> the app must run completely offline). For that I have put a dummy url
>> in mapboxgl.mapping.additional_style_urls parameter (namely
>> http://none), so the map displays only what is added via source,
>> paint, etc. Is there a better way to inhibit mapbox tiles access? When
>> I use this dummy address of course qt cannot load glyphs, and as a
>> consequence labels in geojson are not shown. At the end of the day I
>> will need to specify a local source for glyphs, is it doable?
>>
>> Thanks and happy end of year to all
>>
>> Philippe.
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> https://lists.qt-project.org/listinfo/interest
More information about the Interest
mailing list