From 2a71a96b71818f7dbdcaff2f8bb2cbea18d92611 Mon Sep 17 00:00:00 2001 From: Andrew Calcutt Date: Sun, 21 Jan 2024 23:28:40 -0500 Subject: [PATCH] docs: update tileSize to show as optional Signed-off-by: Andrew Calcutt --- docs/endpoints.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/endpoints.rst b/docs/endpoints.rst index bc42804..9b814ba 100644 --- a/docs/endpoints.rst +++ b/docs/endpoints.rst @@ -13,11 +13,11 @@ Styles Rendered tiles ============== -* Rendered tiles are served at ``/styles/{id}/{tileSize}/{z}/{x}/{y}[@2x].{format}`` +* Rendered tiles are served at ``/styles/{id}[/{tileSize}]/{z}/{x}/{y}[@2x].{format}`` - * The optional ``@2x`` (or ``@3x``, ``@4x``) part can be used to render HiDPI (retina) tiles + * The optional ratio ``@2x`` (ex. ``@2x``, ``@3x``, ``@4x``) part can be used to render HiDPI (retina) tiles + * The optional tile size ``/{tileSize}`` (ex. ``/256``, ``/512``). if omitted, tileSize defaults to 256. * Available formats: ``png``, ``jpg`` (``jpeg``), ``webp`` - * Tile sizes: ``256``, ``512`` * TileJSON at ``/styles/{id}.json`` * The rendered tiles are not available in the ``tileserver-gl-light`` version.