Skip to content

How to style the when I use the "Access the data as tiles" #777

Discussion options

You must be logged in to vote

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Sverre-Iversen
Comment options

Answer selected by Sverre-Iversen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants