Timeline for QGIS2WEB Scaling fonts
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 20, 2020 at 13:04 | comment | added | Tom Chadwin |
Search the code of index.html for bindTooltip , and you will see the font label properties. That said, you'll need to rewrite the whole tooltip bit to call a function on zoom, something like this: stackoverflow.com/questions/47943315/…
|
|
Apr 20, 2020 at 12:15 | comment | added | MapMan | I've tried all three but the Leaflet option was what produced the screenshot in the question. If you could give me a hint as to which bit of the js or css it is I need to edit it may help. thanks. | |
Apr 20, 2020 at 8:07 | comment | added | Tom Chadwin | We need to know which map output format you are using - Leaflet or OpenLayers. The code is different for each, so each would have a different solution. From memory, I don't think zoom-dependent labels are supported in qgis2web at all, I'm afraid, so this would have to be developed. But if you can tell us which output format, someone might be able to help you edit the code to achieve what you want. | |
S Apr 19, 2020 at 15:21 | history | suggested | imre |
Tag added.
|
|
Apr 19, 2020 at 15:20 | review | Suggested edits | |||
S Apr 19, 2020 at 15:21 | |||||
Apr 19, 2020 at 15:12 | history | edited | MapMan | CC BY-SA 4.0 |
added 25 characters in body
|
Apr 19, 2020 at 15:04 | history | asked | MapMan | CC BY-SA 4.0 |