<dvt:mapPointStyleItem>

mapPointStyleItem map point style item


The mapPointStyleItem tag is a child tag of the mapPointTheme and let developers customize the image used for points in a mapPointTheme. Developers can use the mapPointStyleItem tag to show different images based on the value or the category of the point.

The mapPointStyleItem tag can be used to override the default image of a mapPointTheme. Simply setting the imageURL attribute to the desired image, and set the isDefault attribute to true will let you to override the default image of a mapPointTheme.

Developers can define the itemValue to be associated with the mapPointStyleItem tag using the itemValue attribute. Alternatively, developers can define the upperbound and lower bound value of the mapPointStyleItem tag using the minValue and maxValue attribute.

Developers can customize three types of images for each point in the mapPointStyleItem tag:

Note: This tag is ignored if the mapPointTheme tag has a value in its customPointCallback attribute.

Attributes

Name Type Supports EL? Description
id java.lang.String no Specifies the identifier for a point style item
isDefault boolean no Specifies whether this point style item overrides the default style. For example, to specify a different default image for all the points in the point theme, set this attribute to true, and use the desired imageURL in the imageURL attribute. The default value is false.
shortLabel java.lang.String no Specifies the label of this pointStyleItem on the legend if no itemValue is specified.
itemValue java.lang.String no Specifies the value associated with this point style. This attribute will used to match with the category of each GeoRowObject of the GeoModel of the pointTheme. Please use minValue and maxValue if the pointTheme's GeoModel does not have any category.
The itemValue has higher priority than minValue and maxValue. If the category of a GeoRow Object equals the itemValue of a pointStyle, the pointStyle will be used even if the value of the GeoRowObject lies outside the range of value of the point style.
minValue double no Specifies the lower bound value for this point style. Together with maxValue, this two attributes defines the range of value for this point style. ADF Map will check whether if the value of each GeoRowObject of the pointTheme's GeoModel lies within the range of value of each pointStyle.
The itemValue has higher priority than minValue and maxValue. If the category of a GeoRow Object equals the itemValue of a pointStyle, the pointStyle will be used even if the value of the GeoRowObject lies outside the range of value of the point style.
maxValue double no Specifies the upper bound value for this point style. Together with minValue, this two attributes defines the range of value for this point style. ADF Map will check whether if the value of each GeoRowObject of the pointTheme's GeoModel lies within the range of value of each pointStyle.
The itemValue has higher priority than minValue and maxValue. If the category of a GeoRow Object equals the itemValue of a pointStyle, the pointStyle will be used even if the value of the GeoRowObject lies outside the range of value of the point style.
imageURL java.lang.String no Specifies the imageURL for this pointStyleItem. If a GeoRowObject of the point theme matches this pointStyleItem, the point of the GeoRowObject will be displayed using the image in this imageURL.
selectedImageURL java.lang.String no Specifies the selectedImageURL for this pointStyleItem. If a GeoRowObject of the point theme matches this pointStyleItem, the image will be used as the selected Image for the point of the GeoRowObject. Hence, when the point is lied within the selected region that is defined by the user, the point will be displayed using the image defined in this attribute.
hoverImageURL java.lang.String no Specifies the selectedImageURL for this pointStyleItem. If a GeoRowObject of the point theme matches this pointStyleItem, the image will be used as the hover Image for the point of the GeoRowObject. Hence, when the user hovers over the point, the image in hoverImageURL will be shown.
builtInImage java.lang.String no

Specifies the builit in images for this point style item. Each built in image has a set of normal images, selected images and hovered images

Built in images are:

  • OrangePinLarge
  • OrangePinMedium
  • OrangePinSmall
  • OrangeBall
inlineStyle java.lang.String no Specifies the inlineStyle of the image of each point in the pointTheme. This attribute accepts any valid CSS style value. Usually, this attribute is used to set horiziontal and vertical offset for the images. (e.g. position:relative;top:20px)
styleClass java.lang.String no Set a CSS style class to use for the points in the pointTheme.