GSPublishable | R Documentation |
This class models a GeoServer layer. This class is to be
used internally by geosapi for configuring layers or layer groups
within an object of class GSLayerGroup
R6Class
object.
Object of R6Class
for modelling a GeoServer layer group publishable
geosapi::GSRESTResource
-> GSPublishable
full
full
name
name
attr_type
type of attribute
new()
Initializes a GSPublishable
GSPublishable$new(xml = NULL, name, type)
xml
an object of class xml_node-class
name
name
type
type
decode()
Decodes from XML
GSPublishable$decode(xml)
xml
an object of class xml_node-class
setName()
set name
GSPublishable$setName(name)
name
name
setType()
Set type
GSPublishable$setType(type)
type
type
clone()
The objects of this class are cloneable with this method.
GSPublishable$clone(deep = FALSE)
deep
Whether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
publishable <- GSPublishable$new(name = "name", type = "layer")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.