Skip to main content

basemap_provider_styles

Function basemap_provider_styles 

Source
pub fn basemap_provider_styles(
    name: &str,
    options: &ProviderOptions,
) -> Result<Vec<String>, BasemapError>
Expand description

A named basemap’s styles: one for most basemaps (as basemap_provider), several, bottom to top, for a basemap published as separate services (UGRC.Lite: hillshade, base, labels). labels and features apply to the stack as one basemap: a style they leave nothing of is left out, and it is an error when they leave nothing of any. Pass the result to crate::Basemap::stack.