Printing "Retina" Custom Layers

Shane's Avatar


27 Dec, 2018 03:13 AM


When exporting a PDF of a map using tiles that are larger than 256x256 ("Retina" tiles), the output which looks fine on-screen looks like a jigsaw puzzle on the PDF.

You can replicate that using the URL template:{Z}/{X}/{Y}/[email blocked]

Also a suggestion - It should be possible to use "random server letters" in the URL for faster loading. i.e. the above URL would be:
https://{S}[email blocked]
Where {S} is a random one of 'a', 'b' or 'c'

  1. 1 Posted by Shane on 27 Dec, 2018 03:15 AM

    Shane's Avatar

    I see part of the URL was blocked as it looked like e-mail. It should be "t{at symbol}2x.png"

  2. Support Staff 2 Posted by matt on 28 Dec, 2018 04:02 AM

    matt's Avatar

    It works fine if you omit the @2x in the URL, although that doesn't look as nice on the screen. I'll take a look but it may be conflicting with my own internal layer templates in a way that's not easily resolvable.

    Custom layer requests get routed through rather than going directly from the browser to the layer URL, so random letters in the URL wouldn't actually improve loading speed.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac