How to style the when I use the "Access the data as tiles" #777
-
Hi, Customized styling works when choosing (see image below) "Access the data" and "Styles to render the data in maps". Kind Regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi Sverre, yes (see https://demo.ldproxy.net/daraa/tiles for an example). In both TILES and FEATURES_HTML you can configure a style using the "style" option. I assume, you have configured "style" in FEATURES_HTML, but not in TILES? In addition you can set a "defaultStyle" in the HTML building block. This style is then used for both FEATURES_HTML and TILES as the style, if no style is configured explicitly. So, in general, if the same style should be used everywhere, it should be sufficient to configure the "defaultStyle" in HTML. In FEATURES_HTML and TILES you can also override the default style to use the blue wireframe style with "style: NONE". Best regards, Clemens |
Beta Was this translation helpful? Give feedback.
Hi Sverre,
yes (see https://demo.ldproxy.net/daraa/tiles for an example).
In both TILES and FEATURES_HTML you can configure a style using the "style" option. I assume, you have configured "style" in FEATURES_HTML, but not in TILES?
In addition you can set a "defaultStyle" in the HTML building block. This style is then used for both FEATURES_HTML and TILES as the style, if no style is configured explicitly. So, in general, if the same style should be used everywhere, it should be sufficient to configure the "defaultStyle" in HTML.
In FEATURES_HTML and TILES you can also override the default style to use the blue wireframe style with "style: NONE".
Best regards, Clemens