TileServer example

Hi

I am just subscripting to FNC Map,specially to use TMSFNCOpenLayers.
I have a request probably really stupid ;(
I saw in the Options.TileServer property when empty and openStreetMap,
but I cannot see what kind of TileServer we can put ?
can you indicate me an example ?

regards
olivier

The tile servers support are in xyz format. More info can be found here:


Please note that not all URLs are functioning properly, which is an issue at service level, but there are many tile servers not on the list that are working properly such as:

Hi, and thanks you for this quick answer.

I tried to as you recommend tile url comming from Openstreet site and choose the first line " OpenStreetMap's Standard tile layer"

And I wrote in Options.TileServer property this info

https://tile.openstreetmap.org/${z}/${x}/${y}.png

But it didn't work, What I miss ?

regards
olivier

Hi,

Please note that OpenLayers TileServer doesn't accept the dollar signs in the URL as listed on the wiki page.

Can you please remove the dollar signs and try again?

https://tile.openstreetmap.org/{z}/{x}/{y}.png

Hi
and THANKS

It works
but not at design time
Thanks again
olivier

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.

Hi,

Happy to help!

We are not aware of any issues with using TileServer at design time. If the URL works at runtime it should work at design time as well.