Static parameters in custom online maps

Dong-Geulami shared this idea 3 years ago
Gathering feedback

When creating multiple Custom Online maps, is it possible to use the token and API key as parameters and only use it once?


It would be nice to create a parameter at the top like the example below and apply it to multiple maps, but I can't find such a parameter


<?xml version="1.0" encoding="UTF-8"?>


<parameter name="key">123456789</parameter>


<providers>

<provider id="3000" type="0" visible="true" background="-1">

<name>Thunderforest Map</name>

<mode>Outdoors(HD)</mode>

<countries>World</countries>

<url><![CDATA[https://tile.thunderforest.com/outdoors/{z}/{x}/{y}.png?apikey={k}]]></url>;

<zoomPart>{z}-8</zoomPart>

<zoomMin>8</zoomMin>

<zoomMax>29</zoomMax>

<tileSize>256</tileSize>

</provider>


.

.

.

</providers>

Replies (1)

photo
1

Hello Dong,

interesting idea, but nothing like this is currently possible.

Menion

photo
1

Hello


Thanks for your reply

Unfortunately, if there are parameters, I think it will be convenient for XML editing.

If it's not difficult, can you add this variable later?


Have a nice day

photo
1

Hello, I've changed this question to the idea, so "voting is open".

I anyway expect that custom maps are not so useful these days like it was a few years ago. That's why I consider work on this as little waste of time, but maybe I'm wrong...

photo
1

Thank you, Menion

photo
Leave a Comment
 
Attach a file