Package com.jbstrap.jbmap
Class LayerGroup
java.lang.Object
com.jbstrap.jbmap.LayerGroup
- All Implemented Interfaces:
com.jbstrap.core.meta.interfaces.DataDescriptorCallback
public class LayerGroup
extends Object
implements com.jbstrap.core.meta.interfaces.DataDescriptorCallback
Class representing a group of layers on the map.
A LayerGroup may contain any type and any number of the following types:
Line
, Area
, Rectangle
, Circle
, Point
, CirclePoint
, DivPoint
, PopupPoint
- Since:
- 4.0
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected com.jbstrap.core.meta.DataDescriptor
protected com.jbstrap.core.dao.Criteria
protected com.jbstrap.core.meta.DataDescriptor
protected com.jbstrap.core.meta.DataDescriptor
protected com.jbstrap.core.dao.Criteria
protected String
protected String
protected String
protected String
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds a layer to a LayerGroup.Adds a single or multiple layers to the LayerGroup.Adds a list of layers to the LayerGroup.clear()
Removes a layer from a layer group.createLayerFromRecord
(com.jbstrap.core.dao.Record record) Creates a layer based on a record that contains layer data.Asynchronously fetches the data using the specified DataDescriptor.Gets the name of the column that contains the layer border color.Gets the name of the column that contains the layer border opacity values.Gets the name of the column that contains the DivPoint layer border radius values.Gets the name of the column that contains layer border width values.com.jbstrap.core.meta.DataDescriptor
Gets the layers of the LayerGroup that have multiple coordinates in the DataDescriptor.com.jbstrap.core.meta.DataDescriptor
Gets the DataDescriptor containing the unique parameters of the LayerGroup's layers.Gets the name of the column that contains unique CSS class names.com.jbstrap.core.meta.DataDescriptor
Gets the LayerGroup's specified DataDescriptor.com.jbstrap.core.dao.Criteria
Gets the DataDescriptor-associated default criteria of LayerGroup layers.Gets the name of the column that contains the vertical anchor (offset) values of a DivPoint layer.Gets the name of the column that contains the vertical anchor (offset) values of a DivPoint layer.Gets the name of the column that contains the layer fill color.Gets the name of the column that contains the layer opacity values.com.jbstrap.core.dao.Criteria
Gets the DataDescriptor-associated filter criteria for LayerGroup layers.Gets the name of the column that contains image height of Point layer images.Gets the name of the column that contains the Point layer image URLs.Gets the name of the column that contains the image width of Point layer images.Gets the name of the column that contains the horizontal anchor (offset) values of a Point layer image.Gets the name of the column that contains the vertical anchor (offset) values of a Point layer image.getJBMap()
Gets the JBMap component containing the LayerGroup.Gets the name of the column that contains the foreign keys in a CoordinateDataDescriptor.Gets the name of the column that contains the layer's latitude coordinates.Gets the name of the column that contains the latitude coordinates in the CoordinatesDataDescriptor.BaseLayer<?>
getLayerByName
(String layerName) Gets a layer by its unique name from the LayerGroup.Gets all LayerGroup layers in a list.Gets the LayerGroup's LayerStyle settingsLayerStyle
Gets the name of the column that contains the layer's longitude coordinates.Gets the name of the column that contains the longitude coordinates in the CoordinatesDataDescriptor.getName()
Gets the LayerGroup's unique name.Gets the name of the column that contains the layer's unique name.Gets the name of the column that contains the order of coordinates in the CoordinateDataDescriptor.Gets the name of the column containing the foreign keys referencing the primary keys in the layer's DataDescriptor.Gets the name of the column containing the parameter names in the unique parameter DataDescriptor.protected com.jbstrap.core.Parameters
Gets the LayerGroup's parameters.Gets the name of the column containing the parameter values in the unique parameter DataDescriptor.Gets the LayerGroup's set PointImagesPointImage
.Gets the name of the layer popup text column.Gets the name of the column that contains the horizontal anchor (offset) values of a Point popup.Gets the name of the column that contains the vertical anchor (offset) values of a Point popup.Gets the name of the column that contains the layer (Circle and CirclePoint) radius.Gets the name of the column that contains the shadow height of a Point layer image.Gets the name of the column that contains the Point layer image URLs.Gets the name of the column that contains the shadow width of a Point layer image.Gets the name of the column that contains the horizontal anchor (offset) values of a Point layer shadow.Gets the name of the column that contains the vertical anchor (offset) values of a Point layer shadow.Gets the name of the column that contains the layer title.Gets the name of the column that contains the layer's tooltips.Gets the name of the column that contains the horizontal anchor (offset) values of a Point layer tooltip.Gets the name of the column that contains the vertical anchor (offset) values of a Point layer tooltip.Gets the name of a layer-type column.boolean
Gets the automatic fetch status (enabled/disabled) of DataDescriptor-associated layers in a LayerGroup.void
void
removeLayer
(BaseLayer<?> layer) Removing a layer from the LayerGroup.removeLayerByName
(String layerName) Removing a layer from the LayerGroup by its unique name.protected void
runJSLayerGroup
(String script) protected void
setAutoFetchData
(boolean autoFetch) Enables the automatic fetch setting for DataDescriptor-associated layers in a LayerGroup.setBorderColorColumnName
(String borderColorColumnName) Sets the name of the column that contains the layer border color.setBorderOpacityColumnName
(String borderOpacityColumnName) Sets the name of the column that contains the layer border opacity values.setBorderRadiusColumnName
(String borderRadiusColumnName) Sets the name of the column that contains the DivPoint layer border radius values.setBorderWidthColumnName
(String borderWidthColumnName) Sets the name of the column that contains layer border width values.protected void
setComponent
(JBMap component) Passes the JBMap component to the LayerGroup class instance.setCoordinateDataDescriptor
(com.jbstrap.core.meta.DataDescriptor coordinateDataDescriptor, String keyColumnName, String longitudesColumnName, String latitudesColumnName, String orderColumnName) Sets the layers of the LayerGroup with multiple coordinates in the DataDescriptor.setCustomParamDataDescriptor
(com.jbstrap.core.meta.DataDescriptor customParamDataDescriptor, String keyColumnName, String paramKeyColumnName, String paramValueColumnName) Sets the DataDescriptor containing the unique parameters of the LayerGroup's layers.setCssClassColumnName
(String cssClassColumnName) Sets the name of the column that contains the layer's unique CSS class.setDataDescriptor
(com.jbstrap.core.meta.DataDescriptor dataDescriptor, String nameColumnName, String typeColumnName) Sets a DataDescriptor for the LayerGroup layers.setDataDescriptor
(com.jbstrap.core.meta.DataDescriptor dataDescriptor, String nameColumnName, String typeColumnName, String longitudeColumnName, String latitudeColumnName) Sets a DataDescriptor for the LayerGroup layers.setDefaultCriteria
(com.jbstrap.core.dao.Criteria defaultCiteria) Sets the DataDescriptor-associated default criteria for LayerGroup layers.setDivPointXAnchorColumnName
(String divPointXAnchorColumnName) Sets the name of the column that contains the vertical anchor (offset) values of a DivPoint layer.setDivPointYAnchorColumnName
(String divPointYAnchorColumnName) Sets the name of the column that contains the vertical anchor (offset) values of a DivPoint layer.setFillColorColumnName
(String fillColorColumnName) Sets the name of the column that contains the layer fill color.setFillOpacityColumnName
(String fillOpacityColumnName) Sets the name of the column that contains the layer opacity values.setFilterCriteria
(com.jbstrap.core.dao.Criteria filterCriteria) Sets the DataDescriptor-associated filter criteria for LayerGroup layers.setImageHeightColumnName
(String imageHeightColumnName) Sets the name of the column that contains image height of Point value images.setImageUrlColumnName
(String imageUrlColumnName) Sets the name of the column that contains the Point layer image URLS.setImageWidthColumnName
(String imageWidthColumnName) Sets the name of the column that contains the image width of Point layer images.setImageXAnchorColumnName
(String imageXAnchorColumnName) Sets the name of the column that contains the horizontal anchor (offset) values of a Point layer image.setImageYAnchorColumnName
(String imageYAnchorColumnName) Sets the name of the column that contains the vertical anchor (offset) values of a Point layer image.protected void
setJBMapForParent
(BaseLayer<?> layer) setKeyColumnName
(String keyColumnName) Sets the name of the column that contains the foreign keys in a CoordinateDataDescriptor.setLatitudeColumnName
(String latitudeColumnName) Sets the name of the column that contains the layer's latitude coordinates.setLatitudesColumnName
(String latitudesColumnName) Sets the name of the column that contains the latitude coordinates in the CoordinatesDataDescriptor.setLayerStyle
(LayerStyle layerStyle) The LayerGroup's LayerStyle setting.setLongitudeColumnName
(String longitudeColumnName) Sets the name of the column that contains the layer's longitude coordinates.setLongitudesColumnName
(String longitudesColumnName) Sets the name of the column that contains the longitude coordinates in the CoordinatesDataDescriptor.setMapDivPointRenderer
(MapDivPointRenderer mapDivPointRenderer) Sets a DivPoint renderer method that creates unique DivPoint content.setMapPopupPointRenderer
(MapPopupPointRenderer mapPopupPointRenderer) Sets a PopupPoint renderer method that creates custom PopupPoint content.setMapPopupRenderer
(MapPopupRenderer mapPopupRenderer) Sets a popup renderer method that creates unique popup content.setNameColumnName
(String nameColumnName) Sets the name of the column that contains the layer's unique name.setOrderColumnName
(String orderColumnName) Sets the name of the column that contains the order of coordinates in the CoordinateDataDescriptor.setParamKeyColumnName
(String paramKeyColumnName) Sets the name of the column containing the foreign keys referencing the primary keys in the layer's DataDescriptor.setParamNameColumnName
(String paramNameColumnName) Sets the name of the column that contains the parameter names in the unique parameter DataDescriptor.setParamValueColumnName
(String paramValueColumnName) Sets the name of the column containing the parameter values in the unique parameter DataDescriptor.setPointImage
(PointImage pointImage) Sets the LayerGroup's PointImage image.setPopupColumnName
(String popupColumnName) Sets the name of the column that contains the layer popup text.setPopupXAnchorColumnName
(String popupXAnchorColumnName) Sets the name of the column that contains the horizontal anchor (offset) values of a Point popup.setPopupYAnchorColumnName
(String popupYAnchorColumnName) Sets the name of the column that contains the vertical anchor (offset) values of a Point popup.setRadiusColumnName
(String radiusColumnName) Sets the name of the column that contains the layer (Circle and CirclePoint) radius.setShadowHeightColumnName
(String shadowHeightColumnName) Sets the name of the column that contains the shadow height of a Point layer image.setShadowUrlColumnName
(String shadowUrlColumnName) Sets the name of the column that contains the shadow URLs for Point layer images.setShadowWidthColumnName
(String shadowWidthColumnName) Sets the name of the column that contains the shadow width of a Point layer image.setShadowXAnchorColumnName
(String shadowXAnchorColumnName) Sets the name of the column that contains the horizontal anchor (offset) values of a Point layer shadow.setShadowYAnchorColumnName
(String shadowYAnchorColumnName) Sets the name of the column that contains the vertical anchor (offset) values of a Point layer shadow.setTitleColumnName
(String titleColumnName) Sets the name of the column that contains the layer title.setTooltipColumnName
(String tooltipColumnName) Sets the name of the column that contains the layer's tooltips.setTooltipXAnchorColumnName
(String tooltipXAnchorColumnName) Sets the name of the column that contains the horizontal anchor (offset) values of a Point layer tooltip.setTooltipYAnchorColumnName
(String tooltipYAnchorColumnName) Sets the name of the column that contains the vertical anchor (offset) values of a Point layer tooltip.setTypeColumnName
(String typeColumnName) Sets the name of the layer-type column.
-
Field Details
-
dataDescriptor
protected com.jbstrap.core.meta.DataDescriptor dataDescriptor -
defaultCriteria
protected com.jbstrap.core.dao.Criteria defaultCriteria -
filterCriteria
protected com.jbstrap.core.dao.Criteria filterCriteria -
autoFetch
protected boolean autoFetch -
dsCoordinates
protected com.jbstrap.core.meta.DataDescriptor dsCoordinates -
orderColumnName
-
keyColumnName
-
dsCustomParams
protected com.jbstrap.core.meta.DataDescriptor dsCustomParams -
paramKeyColumnName
-
paramNameColumnName
-
paramValueColumnName
-
-
Constructor Details
-
LayerGroup
protected LayerGroup() -
LayerGroup
Creates a LayerGroup.- Parameters:
name
- The LayerGroup's unique name
-
-
Method Details
-
setComponent
Passes the JBMap component to the LayerGroup class instance.- Parameters:
component
- The JBMap component
-
setMapPopupRenderer
Sets a popup renderer method that creates unique popup content. You have to use it if the LayerGroup is built on a DataDescriptor. If you provide a popup renderer method, a unique popup content is displayed to the user. All popup contents are compatible with any component, the contents can be provided by any JBStrap component.- Parameters:
mapPopupRenderer
- Popup content creation method- Returns:
- The instantiated LayerGroup class.
- See Also:
-
setMapPopupPointRenderer
Sets a PopupPoint renderer method that creates custom PopupPoint content. You need to use it if the LayerGroup is created using a DataDescriptor. If yo specify a PopupPoint renderer method, a custom PopupPoint content is displayed to the user. All PopupPoint contents are compatible with all other components, any JBStrap component can provide their contents.- Parameters:
mapPopupPointRenderer
- The method creating a PopupPoint content- Returns:
- LayerGroup instance
- See Also:
-
setMapDivPointRenderer
Sets a DivPoint renderer method that creates unique DivPoint content. You have to use it if the LayerGroup is built on a DataDescriptor. If you provide a DivPoint renderer method, a unique DivPoint content is displayed to the user. All DivPoint contents are compatible with all components, its contents can be provided by any JBStrap component.- Parameters:
mapDivPointRenderer
- DivPoint content creation method- Returns:
- The instantiated LayerGroup class.
- See Also:
-
getJBMap
Gets the JBMap component containing the LayerGroup.- Returns:
- The JBMap component
-
getName
Gets the LayerGroup's unique name.- Returns:
- Unique LayerGroup name
-
addLayer
Adds a layer to a LayerGroup.- Parameters:
layer
- A marker point or shape layer instance to be added to the group- Returns:
- The instantiated LayerGroup class.
- Throws:
IllegalArgumentException
- Thrown if the name of a layer in the layer group is the same as the one to be added
-
setJBMapForParent
- Parameters:
layer
- Layer- Throws:
IllegalArgumentException
- Thrown if the name of a layer in the layer group is the same as the one recently added
-
addLayers
Adds a single or multiple layers to the LayerGroup.- Parameters:
layers
- The marker point or shape layer instance (or layer instances) to be added- Returns:
- The instantiated LayerGroup class.
-
addLayers
Adds a list of layers to the LayerGroup.- Parameters:
layers
- A list of marker point or shape layer instances to be added to the group- Returns:
- The instantiated LayerGroup class.
-
getLayers
Gets all LayerGroup layers in a list.- Returns:
- A list of LayerGroup layers
-
getLayerByName
Gets a layer by its unique name from the LayerGroup.- Parameters:
layerName
- Unique name of the layer- Returns:
- Layer instance
-
removeLayerByName
Removing a layer from the LayerGroup by its unique name.- Parameters:
layerName
- The unique name of the layer to be removed- Returns:
- The instantiated LayerGroup class.
-
removeLayer
Removing a layer from the LayerGroup.- Parameters:
layer
- Layer- Returns:
- The instantiated LayerGroup class.
-
getParams
protected com.jbstrap.core.Parameters getParams()Gets the LayerGroup's parameters.- Returns:
- LayerGroup parameters
-
getLayerStyle
Gets the LayerGroup's LayerStyle settingsLayerStyle
- Returns:
- The LayerGroup's LayerStyle setting
-
setLayerStyle
The LayerGroup's LayerStyle setting. This setting is valid for layers that have no defined LayerStyles.- Parameters:
layerStyle
- LayerStyle instanceLayerStyle
- Returns:
- The instantiated LayerGroup class.
-
getPointImage
Gets the LayerGroup's set PointImagesPointImage
.- Returns:
- LayerGroup's PointImage instance
-
setPointImage
Sets the LayerGroup's PointImage image. If those Point layers are specified that have no defined image take this specified image.PointImage
- Parameters:
pointImage
- LayerGroup PointImage instance- Returns:
- The instantiated LayerGroup class.
-
getDataDescriptor
public com.jbstrap.core.meta.DataDescriptor getDataDescriptor()Gets the LayerGroup's specified DataDescriptor.- Returns:
- DataDescriptor specified for the LayerGroup layers
-
setDataDescriptor
public LayerGroup setDataDescriptor(com.jbstrap.core.meta.DataDescriptor dataDescriptor, String nameColumnName, String typeColumnName) Sets a DataDescriptor for the LayerGroup layers.- Parameters:
dataDescriptor
- DataDescriptor for the LayerGroup layersnameColumnName
- Name of the column with layer names in the DataDescriptortypeColumnName
- Name of the column with layer types in the DataDescriptorLayerType
- Returns:
- The instantiated LayerGroup class.
-
setDataDescriptor
public LayerGroup setDataDescriptor(com.jbstrap.core.meta.DataDescriptor dataDescriptor, String nameColumnName, String typeColumnName, String longitudeColumnName, String latitudeColumnName) Sets a DataDescriptor for the LayerGroup layers.- Parameters:
dataDescriptor
- DataDescriptor for the LayerGroup layersnameColumnName
- Name of the column with layer names in the DataDescriptortypeColumnName
- Name of the column with layer types in the DataDescriptorLayerType
longitudeColumnName
- Name of the column with the layer's longitude values in the DataDescriptorlatitudeColumnName
- Name of the column with the layer's latitude values in the DataDescriptor- Returns:
- The instantiated LayerGroup class.
-
getCoordinateDataDescriptor
public com.jbstrap.core.meta.DataDescriptor getCoordinateDataDescriptor()Gets the layers of the LayerGroup that have multiple coordinates in the DataDescriptor.- Returns:
- The layers of the LayerGroup that have multiple coordinates in the DataDescriptor (CoordinateDataDescriptor)
-
setCoordinateDataDescriptor
public LayerGroup setCoordinateDataDescriptor(com.jbstrap.core.meta.DataDescriptor coordinateDataDescriptor, String keyColumnName, String longitudesColumnName, String latitudesColumnName, String orderColumnName) Sets the layers of the LayerGroup with multiple coordinates in the DataDescriptor.- Parameters:
coordinateDataDescriptor
- A DataDescriptor with coordinates assigned to the LayerGroupkeyColumnName
- Name of the column containing the foreign keys referencing the primary keys in the layer's DataDescriptorlongitudesColumnName
- Name of the column with the layer's longitude values in the DataDescriptorlatitudesColumnName
- Name of the column with the layer's latitude values in the DataDescriptororderColumnName
- Name of the column with the order of the layer's coordinates- Returns:
- The instantiated LayerGroup class.
-
getCustomParamDataDescriptor
public com.jbstrap.core.meta.DataDescriptor getCustomParamDataDescriptor()Gets the DataDescriptor containing the unique parameters of the LayerGroup's layers.- Returns:
- DataDescriptor containing the unique parameters in the LayerGroup's layers (CustomParamDataDescriptor)
-
setCustomParamDataDescriptor
public LayerGroup setCustomParamDataDescriptor(com.jbstrap.core.meta.DataDescriptor customParamDataDescriptor, String keyColumnName, String paramKeyColumnName, String paramValueColumnName) Sets the DataDescriptor containing the unique parameters of the LayerGroup's layers.- Parameters:
customParamDataDescriptor
- DataDescriptor containing the unique parameters of LayerGroup layerskeyColumnName
- Name of the column containing the foreign keys referencing the primary keys in the layer's DataDescriptorparamKeyColumnName
- Name of the column containing unique parameter names of layersparamValueColumnName
- Name of the column with the unique parameter values of layers in the DataDescriptor- Returns:
- The instantiated LayerGroup class.
-
getDefaultCriteria
public com.jbstrap.core.dao.Criteria getDefaultCriteria()Gets the DataDescriptor-associated default criteria of LayerGroup layers.- Returns:
- DataDescriptor-associated default criteria of LayerGroup layers
-
setDefaultCriteria
Sets the DataDescriptor-associated default criteria for LayerGroup layers.- Parameters:
defaultCiteria
- DataDescriptor-associated default criteria for LayerGroup layers- Returns:
- The instantiated LayerGroup class.
-
getFilterCriteria
public com.jbstrap.core.dao.Criteria getFilterCriteria()Gets the DataDescriptor-associated filter criteria for LayerGroup layers.- Returns:
- The DataDescriptor-associated filter criteria for LayerGroup layers
-
setFilterCriteria
Sets the DataDescriptor-associated filter criteria for LayerGroup layers.- Parameters:
filterCriteria
- DataDescriptor-associated filter criteria for LayerGroup layers- Returns:
- The instantiated LayerGroup class.
-
isAutoFetchData
public boolean isAutoFetchData()Gets the automatic fetch status (enabled/disabled) of DataDescriptor-associated layers in a LayerGroup.- Returns:
true
if the automatic fetch is enabled. The default value istrue
.
-
setAutoFetchData
Enables the automatic fetch setting for DataDescriptor-associated layers in a LayerGroup.- Parameters:
autoFetch
- Enable automatic fetch The default setting istrue
.- Returns:
- The instantiated LayerGroup class.
-
fetchData
Asynchronously fetches the data using the specified DataDescriptor. Fetches data from the DataDescriptor asynchronously.- Returns:
- The instantiated LayerGroup class.
- Throws:
IllegalStateException
- Thrown if there was no DataDescriptor specified for the layer group or the name of the layer name column name (nameColumnName) is left unspecified or the layer type column name (typeColumnName) is left unspecified
-
onError
- Specified by:
onError
in interfacecom.jbstrap.core.meta.interfaces.DataDescriptorCallback
-
onSuccess
- Specified by:
onSuccess
in interfacecom.jbstrap.core.meta.interfaces.DataDescriptorCallback
-
createLayerFromRecord
Creates a layer based on a record that contains layer data.- Parameters:
record
- Layer data record- Returns:
- The instantiated LayerGroup class.
- Throws:
IllegalStateException
- Thrown if the longitudeColumnName or latitudeColumnName is left unspecified or the multi-coordinate DataDescriptor (setCoordinateDataDescriptor(DataDescriptor, String, String, String, String)
) or the keyColumnName is unspecified
-
clear
Removes a layer from a layer group.- Returns:
- The instantiated LayerGroup class.
-
getNameColumnName
Gets the name of the column that contains the layer's unique name.- Returns:
- Name of the column with the layer's unique name
-
setNameColumnName
Sets the name of the column that contains the layer's unique name.- Parameters:
nameColumnName
- Name of the column that contains the layer's unique name- Returns:
- The instantiated LayerGroup class.
-
getTypeColumnName
Gets the name of a layer-type column.- Returns:
- Name of the layer-type column
-
setTypeColumnName
Sets the name of the layer-type column.- Parameters:
typeColumnName
- Name of the layer-type column- Returns:
- The instantiated LayerGroup class.
-
getLongitudeColumnName
Gets the name of the column that contains the layer's longitude coordinates.- Returns:
- Name of the column that contains the layer's longitude coordinates.
-
setLongitudeColumnName
Sets the name of the column that contains the layer's longitude coordinates.- Parameters:
longitudeColumnName
- Name of the column that contains the layer's longitude coordinates- Returns:
- The instantiated LayerGroup class.
-
getLatitudeColumnName
Gets the name of the column that contains the layer's latitude coordinates.- Returns:
- Name of the column that contains the layer's latitude coordinates
-
setLatitudeColumnName
Sets the name of the column that contains the layer's latitude coordinates.- Parameters:
latitudeColumnName
- Name of the column that contains the layer's latitude coordinates- Returns:
- The instantiated LayerGroup class.
-
getTooltipColumnName
Gets the name of the column that contains the layer's tooltips.- Returns:
- Name of the column that contains the layer's tooltips
-
setTooltipColumnName
Sets the name of the column that contains the layer's tooltips.- Parameters:
tooltipColumnName
- Name of the column that contains the layer's tooltips- Returns:
- The instantiated LayerGroup class.
-
getTitleColumnName
Gets the name of the column that contains the layer title.- Returns:
- Layer title column
-
setTitleColumnName
Sets the name of the column that contains the layer title.- Parameters:
titleColumnName
- Layer title column- Returns:
- The instantiated LayerGroup class.
-
getPopupColumnName
Gets the name of the layer popup text column.- Returns:
- Name of the layer popup text column
-
setPopupColumnName
Sets the name of the column that contains the layer popup text.- Parameters:
popupColumnName
- Name of the column that contains the layer popup text- Returns:
- The instantiated LayerGroup class.
-
getBorderColorColumnName
Gets the name of the column that contains the layer border color.- Returns:
- Layer border color column
-
setBorderColorColumnName
Sets the name of the column that contains the layer border color.- Parameters:
borderColorColumnName
- Name of the column that contains the layer border color- Returns:
- The instantiated LayerGroup class.
-
getFillColorColumnName
Gets the name of the column that contains the layer fill color.- Returns:
- Name of the column that contains the layer fill color
-
setFillColorColumnName
Sets the name of the column that contains the layer fill color.- Parameters:
fillColorColumnName
- Name of the column that contains the layer fill color- Returns:
- The instantiated LayerGroup class.
-
getBorderOpacityColumnName
Gets the name of the column that contains the layer border opacity values.- Returns:
- Name of the column that contains the layer border opacity values
-
setBorderOpacityColumnName
Sets the name of the column that contains the layer border opacity values.- Parameters:
borderOpacityColumnName
- Name of the column that contains the layer border opacity values- Returns:
- The instantiated LayerGroup class.
-
getFillOpacityColumnName
Gets the name of the column that contains the layer opacity values.- Returns:
- Name of the column that contains the layer opacity values
-
setFillOpacityColumnName
Sets the name of the column that contains the layer opacity values.- Parameters:
fillOpacityColumnName
- Name of the column that contains layer opacity values- Returns:
- The instantiated LayerGroup class.
-
getBorderWidthColumnName
Gets the name of the column that contains layer border width values.- Returns:
- Name of the column that contains that contains layer border width values.
-
setBorderWidthColumnName
Sets the name of the column that contains layer border width values.- Parameters:
borderWidthColumnName
- Name of the column that contains layer border width values- Returns:
- The instantiated LayerGroup class.
-
getCssClassColumnName
Gets the name of the column that contains unique CSS class names.- Returns:
- Name of the column that contains the layer's unique CSS class
-
setCssClassColumnName
Sets the name of the column that contains the layer's unique CSS class.- Parameters:
cssClassColumnName
- Name of the column that contains the layer's unique CSS class- Returns:
- The instantiated LayerGroup class.
-
getRadiusColumnName
Gets the name of the column that contains the layer (Circle and CirclePoint) radius.- Returns:
- Name of the column that contains the layer (Circle and CirclePoint) radius
-
setRadiusColumnName
Sets the name of the column that contains the layer (Circle and CirclePoint) radius.- Parameters:
radiusColumnName
- Name of the column that contains the layer (Circle and CirclePoint) radius- Returns:
- The instantiated LayerGroup class.
-
getBorderRadiusColumnName
Gets the name of the column that contains the DivPoint layer border radius values.- Returns:
- Name of the column that contains the DivPoint layer border radius values
-
setBorderRadiusColumnName
Sets the name of the column that contains the DivPoint layer border radius values.- Parameters:
borderRadiusColumnName
- Name of the column that contains the DivPoint layer border radius values- Returns:
- The instantiated LayerGroup class.
-
getImageUrlColumnName
Gets the name of the column that contains the Point layer image URLs.- Returns:
- Name of the column that contains the Point layer image URLs
-
setImageUrlColumnName
Sets the name of the column that contains the Point layer image URLS.- Parameters:
imageUrlColumnName
- Name of the column that contains the Point layer image URLs- Returns:
- The instantiated LayerGroup class.
-
getShadowUrlColumnName
Gets the name of the column that contains the Point layer image URLs.- Returns:
- Name of the column that contains the Point layer image URLs
-
setShadowUrlColumnName
Sets the name of the column that contains the shadow URLs for Point layer images.- Parameters:
shadowUrlColumnName
- Name of the column that contains the shadow URLs for Point layer images- Returns:
- The instantiated LayerGroup class.
-
getImageWidthColumnName
Gets the name of the column that contains the image width of Point layer images.- Returns:
- Name of the column that contains the image width in Point layer images
-
setImageWidthColumnName
Sets the name of the column that contains the image width of Point layer images.- Parameters:
imageWidthColumnName
- Name of the column that contains image width of Point layer images- Returns:
- The instantiated LayerGroup class.
-
getImageHeightColumnName
Gets the name of the column that contains image height of Point layer images.- Returns:
- Name of the column that contains image height of Point layer images
-
setImageHeightColumnName
Sets the name of the column that contains image height of Point value images.- Parameters:
imageHeightColumnName
- Name of the column that contains image height of Point layer images- Returns:
- The instantiated LayerGroup class.
-
getImageXAnchorColumnName
Gets the name of the column that contains the horizontal anchor (offset) values of a Point layer image.- Returns:
- The name of the column that contains the horizontal anchor (offset) values of a Point layer image.
-
setImageXAnchorColumnName
Sets the name of the column that contains the horizontal anchor (offset) values of a Point layer image.- Returns:
- The name of the column that contains the horizontal anchor (offset) values of a Point layer image.
-
getImageYAnchorColumnName
Gets the name of the column that contains the vertical anchor (offset) values of a Point layer image.- Returns:
- The name of the column that contains the vertical anchor (offset) values of a Point layer image.
-
setImageYAnchorColumnName
Sets the name of the column that contains the vertical anchor (offset) values of a Point layer image.- Returns:
- The name of the column that contains the vertical anchor (offset) values of a Point layer image.
-
getShadowWidthColumnName
Gets the name of the column that contains the shadow width of a Point layer image.- Returns:
- Name of the column that contains the shadow width of a Point layer image
-
setShadowWidthColumnName
Sets the name of the column that contains the shadow width of a Point layer image.- Parameters:
shadowWidthColumnName
- Name of the column that contains the shadow width of a Point layer image- Returns:
- The instantiated LayerGroup class.
-
getShadowHeightColumnName
Gets the name of the column that contains the shadow height of a Point layer image.- Returns:
- Name of the column that contains the shadow height of a Point layer image
-
setShadowHeightColumnName
Sets the name of the column that contains the shadow height of a Point layer image.- Parameters:
shadowHeightColumnName
- Name of the column that contains the shadow height of a Point layer image- Returns:
- The instantiated LayerGroup class.
-
getShadowXAnchorColumnName
Gets the name of the column that contains the horizontal anchor (offset) values of a Point layer shadow.- Returns:
- The name of the column that contains the horizontal anchor (offset) values of a Point layer shadow
-
setShadowXAnchorColumnName
Sets the name of the column that contains the horizontal anchor (offset) values of a Point layer shadow.- Returns:
- The name of the column that contains the horizontal anchor (offset) values of a Point layer shadow.
-
getShadowYAnchorColumnName
Gets the name of the column that contains the vertical anchor (offset) values of a Point layer shadow.- Returns:
- The name of the column that contains the vertical anchor (offset) values of a Point layer shadow
-
setShadowYAnchorColumnName
Sets the name of the column that contains the vertical anchor (offset) values of a Point layer shadow.- Parameters:
shadowYAnchorColumnName
- The name of the column that contains the vertical anchor (offset) values of a Point layer image.- Returns:
- The instantiated LayerGroup class.
-
getTooltipXAnchorColumnName
Gets the name of the column that contains the horizontal anchor (offset) values of a Point layer tooltip.- Returns:
- The name of the column that contains the horizontal anchor (offset) values of a Point layer tooltip
-
setTooltipXAnchorColumnName
Sets the name of the column that contains the horizontal anchor (offset) values of a Point layer tooltip.- Parameters:
tooltipXAnchorColumnName
- The name of the column that contains the horizontal anchor (offset) values of a Point layer tooltip- Returns:
- The instantiated LayerGroup class.
-
getTooltipYAnchorColumnName
Gets the name of the column that contains the vertical anchor (offset) values of a Point layer tooltip.- Returns:
- The name of the column that contains the vertical anchor (offset) values of a Point layer tooltip
-
setTooltipYAnchorColumnName
Sets the name of the column that contains the vertical anchor (offset) values of a Point layer tooltip.- Parameters:
tooltipYAnchorColumnName
- The name of the column that contains the vertical anchor (offset) values of a Point layer tooltip- Returns:
- The instantiated LayerGroup class.
-
getPopupXAnchorColumnName
Gets the name of the column that contains the horizontal anchor (offset) values of a Point popup.- Returns:
- The name of the column that contains the horizontal anchor (offset) values of a Point popup
-
setPopupXAnchorColumnName
Sets the name of the column that contains the horizontal anchor (offset) values of a Point popup.- Parameters:
popupXAnchorColumnName
- The name of the column that contains the horizontal anchor (offset) values of a Point popup- Returns:
- The instantiated LayerGroup class.
-
getPopupYAnchorColumnName
Gets the name of the column that contains the vertical anchor (offset) values of a Point popup.- Returns:
- The name of the column that contains the vertical anchor (offset) values of a Point popup
-
setPopupYAnchorColumnName
Sets the name of the column that contains the vertical anchor (offset) values of a Point popup.- Parameters:
popupYAnchorColumnName
- The name of the column that contains the vertical anchor (offset) values of a Point popup- Returns:
- The instantiated LayerGroup class.
-
getParamKeyColumnName
Gets the name of the column containing the foreign keys referencing the primary keys in the layer's DataDescriptor.- Returns:
- Name of the column that contains the primary keys of the unique parameters in the DataDescriptor
-
setParamKeyColumnName
Sets the name of the column containing the foreign keys referencing the primary keys in the layer's DataDescriptor.- Parameters:
paramKeyColumnName
- Name of the column that contains the primary keys of the unique parameters in the DataDescriptor- Returns:
- The instantiated LayerGroup class.
-
getParamNameColumnName
Gets the name of the column containing the parameter names in the unique parameter DataDescriptor.- Returns:
- Name of the column that contains the parameter names in the unique parameter DataDescriptor
-
setParamNameColumnName
Sets the name of the column that contains the parameter names in the unique parameter DataDescriptor.- Parameters:
paramNameColumnName
- Name of the column that contains the parameter names in the unique parameter DataDescriptor- Returns:
- The instantiated LayerGroup class.
-
getParamValueColumnName
Gets the name of the column containing the parameter values in the unique parameter DataDescriptor.- Returns:
- Name of the column that contains the parameter values in the unique parameter DataDescriptor
-
setParamValueColumnName
Sets the name of the column containing the parameter values in the unique parameter DataDescriptor.- Parameters:
paramValueColumnName
- Name of the column that contains the parameter values in the unique parameter DataDescriptor- Returns:
- The instantiated LayerGroup class.
-
getOrderColumnName
Gets the name of the column that contains the order of coordinates in the CoordinateDataDescriptor.- Returns:
- The name of the column that contains layers with multiple coordinates in a CoordinateDataDescriptor
-
setOrderColumnName
Sets the name of the column that contains the order of coordinates in the CoordinateDataDescriptor.- Parameters:
orderColumnName
- The name of the column that contains the order of coordinates in a CoordinateDataDescriptor- Returns:
- The instantiated LayerGroup class.
-
getKeyColumnName
Gets the name of the column that contains the foreign keys in a CoordinateDataDescriptor.- Returns:
- The name of the column that contains layers with multiple coordinates in a CoordinateDataDescriptor
-
setKeyColumnName
Sets the name of the column that contains the foreign keys in a CoordinateDataDescriptor.- Parameters:
keyColumnName
- The name of the column that contains the order of coordinates in a CoordinateDataDescriptor- Returns:
- The instantiated LayerGroup class.
-
getLongitudesColumnName
Gets the name of the column that contains the longitude coordinates in the CoordinatesDataDescriptor.- Returns:
- The name of the column that contains the layer's longitude coordinates
-
setLongitudesColumnName
Sets the name of the column that contains the longitude coordinates in the CoordinatesDataDescriptor.- Parameters:
longitudesColumnName
- Name of the column that contains the layer's longitude coordinates- Returns:
- The instantiated LayerGroup class.
-
getLatitudesColumnName
Gets the name of the column that contains the latitude coordinates in the CoordinatesDataDescriptor.- Returns:
- The name of the column that contains the layer's latitude coordinates
-
setLatitudesColumnName
Sets the name of the column that contains the latitude coordinates in the CoordinatesDataDescriptor.- Parameters:
latitudesColumnName
- Name of the column that contains the layer's latitude coordinates- Returns:
- The instantiated LayerGroup class.
-
getDivPointXAnchorColumnName
Gets the name of the column that contains the vertical anchor (offset) values of a DivPoint layer.- Returns:
- The name of the column that contains the vertical anchor (offset) values of a DivPoint layer
-
setDivPointXAnchorColumnName
Sets the name of the column that contains the vertical anchor (offset) values of a DivPoint layer.- Parameters:
divPointXAnchorColumnName
- The name of the column that contains the vertical anchor (offset) of a Point layer- Returns:
- The instantiated LayerGroup class.
-
getDivPointYAnchorColumnName
Gets the name of the column that contains the vertical anchor (offset) values of a DivPoint layer.- Returns:
- The name of the column that contains the vertical anchor (offset) values of a DivPoint layer
-
setDivPointYAnchorColumnName
Sets the name of the column that contains the vertical anchor (offset) values of a DivPoint layer.- Parameters:
divPointYAnchorColumnName
- The name of the column that contains the vertical anchor (offset) of a DivPoint layer- Returns:
- The instantiated LayerGroup class.
-
runJSMap
- Parameters:
script
- JavaScript
-
runJSLayerGroup
- Parameters:
script
- JavaScript
-