Skip to content

Martin Source Endpoints Differences #1238

Answered by nyurik
BigBoulard asked this question in Q&A
Discussion options

You must be logged in to vote

Lots of good questions :)

  • The comma-separated list means that you let Martin tile server do the tile merging - i.e. it will be just a single tile response, possibly cached by your CDN, rather than 4 individual responses. There are positives and negatives with this approach - mostly having to do with cache optimization.
  • Per sources docs, you can either give MapLibre GL one or more formatting strings with "tiles": [...] param that contains {z}/{x}/{y}, and also configure the rest of the tile source (min/max zoom,...), OR, you can give it a link to tilejson using "url" -- in which case it must be just a single tilesource, and you don't need to set min/max zoom, ...

P.S. you will have to us…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BigBoulard
Comment options

Answer selected by BigBoulard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants