From ab55da9a6e615f944fd83063ec69750d4ad24b37 Mon Sep 17 00:00:00 2001 From: iSergio <s.serge.b@gmail.com> Date: Fri, 29 Sep 2023 23:55:56 +0300 Subject: [PATCH] Added the retinaTiles option to the OpenStreetMapImageryProvider constructor options to allow requesting tiles at the 2x resolution for retina displays. --- .../options/OpenStreetMapImageryProviderOptions.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cesiumjs4gwt-main/src/main/java/org/cesiumjs/cs/scene/providers/options/OpenStreetMapImageryProviderOptions.java b/cesiumjs4gwt-main/src/main/java/org/cesiumjs/cs/scene/providers/options/OpenStreetMapImageryProviderOptions.java index 7995294e..6633b223 100644 --- a/cesiumjs4gwt-main/src/main/java/org/cesiumjs/cs/scene/providers/options/OpenStreetMapImageryProviderOptions.java +++ b/cesiumjs4gwt-main/src/main/java/org/cesiumjs/cs/scene/providers/options/OpenStreetMapImageryProviderOptions.java @@ -39,6 +39,12 @@ public class OpenStreetMapImageryProviderOptions { */ @JsProperty public String fileExtension; + /** + * When true, request tiles at the 2x resolution for retina displays. + * Default: false + */ + @JsProperty + public boolean retinaTiles; // TODO: Proxy // /** // * A proxy to use for requests. This object is expected to have a getURL -- GitLab