/
svgBillboardDefaultToSvgBillboardSelected()
svgBillboardDefaultToSvgBillboardSelected()
Information
Implementation version: beta 1.02
Description
It generates a billboard to be used as a symbology of the selected element from a default billboard. This billboard must follow a specific scheme:
<svg xmlns="http://www.w3.org/2000/svg" height="50" width="50"> <circle id="background" r="25" cy="25" cx="25" fill="#808080" /> <circle id="stroke" stroke="#808080" stroke-width="1.5" fill="none" cx="25" cy="25" r="23.5" /> <path fill="#FFFFFF" d="{icon path code}" /> </svg>
Invocation
svgBillboardDefaultToSvgBillboardSelected( billboardDefaultSvg )
Input parameters
billboardDefaultSvg
The image of the icon to be used. It must be mandatorily SVG format, following the above-specified XML scheme.
Use examples
This function is designed to be used internally in createLayer()
, multiple selections available,
Related content
(ES) svgBillboardDefaultToSvgBillboardSelected()
(ES) svgBillboardDefaultToSvgBillboardSelected()
More like this
featureSelection()
featureSelection()
More like this
updateLayer()
updateLayer()
More like this
popup()
popup()
More like this
(ES) checkValidFeatureCollection()
(ES) checkValidFeatureCollection()
More like this
Create and edit synoptics with API
Create and edit synoptics with API
More like this