mapId | | true | map id |
componentWidth | 1920 | false | Map the width of containers |
componentHeight | 1080 | false | Map the height of containers |
background | #ddd | false | Map container background color |
visibleElement | [] | false | Displayable collection of element ids |
visibleType | [] | false | Displayable collection of element types |
visibleState | [] | false | Displayable collection of element states |
clickableElement | [] | false | Clickable collection of element ids |
clickableType | [] | false | Clickable collection of element types |
clickableState | [] | false | Clickable collection of element states |
onClick | | false | Radio callback method |
onSelect | | false | Multi-select callback method |
onClickError | | false | Select the callback method for the exception |
mapZoom | true | false | Scale the map |
mapMove | true | false | Move the map |
multiple | false | false | Multiple switch |
noName | false | false | Element names are not displayed on the map. |
showPath | false | false | Display roadmap |
markId | | false | The element id that needs to be tagged, such as '1'; If multiple, use string array format, such as ['1', '2'] |
showStateIds | [] | false | Display different states of different elements, data structure:[{id: 1, state: 'XX', color: '#fff', text: ''}, {}] |
reloadMap | | false | Reload the map |
reloadFinish | | false | Reload the map to complete the callback |
touchable | | false | Touch control |
deleteId | | false | Delete selected element id |
deleteFinish | | false | Callback after deleting selected element |
tooltipContent | | false | Display tooltip |
elementsColor | [] | false | Set color according to element id, data structure:[{id: 1, color: '#fff'}, {}] |
pathStartSvg | | false | Guide start icon, this icon contains only elements inside svg, without svg tags |
pathEndSvg | | false | Guide end icon, this icon contains only elements inside svg, without svg tags |
pathStyle | | false | Guide leader style, style setting reference svg element attributes |
markSvg | | false | Search anchor or mark icon, this icon contains only elements inside svg, without svg tags |
selectedSvg | | false | Check icon, this icon contains only elements inside svg, without svg tags |
defaultTooltipKey | | '' | You can customize the default key in the bubble, such as orgName |
getSvgDom | | '' | Get viewerdom of SVG callback method |
signatureKey | null | false | Signature key |
restfulSignature | false | false | Controls whether to sign or not, when set to true, the signature key must be set to a valid value |
textColor | #fff | false | elements text color |
scaleFactorMax | 5 | false | maximum amount of scale a user can zoom in to |
scaleFactorMin | 0.5 | false | minimum amount of scale a user can zoom out of |
isGenders | false | false | Display male and female outsourcing type avatars before the name of the material |