Description Usage Arguments Value
add a default style (precalculalted and stored in geoserver) for a layer (vector or tiff)
1 | dt_addDefaultStyleToDataLayer(stylename, datalayername, isglobalstyle = FALSE)
|
stylename |
style name (without workspace infomation) |
datalayername |
datalyer name, workspace information will be automatically attached based on devkey account |
isglobalstyle |
if TRUE, workspace information will not be attached. set this to TRUE if the style is hard coded in Geoserver. This is useful for creating common styles (such as shadow intensity, rainfall and temperature) at the application/built-in model level, rather than individual job level |
if success, a published datalayername; otherwise, empty string
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.