Properties
HLoaded
HLoaded
: Handle<function> = new Event.Handle <(map: this) => void> ()
HSelectionChanged
HSelection
Changed: Handle<function> = new Event.Handle <(map: this) => void> ()
background
background: SVGImageElement
container
container: HTMLObjectElement
Private defsElement
defsElement: SVGDefsElement
Protected displayMode
displayMode: "ghost" | "normal" = "normal"
filtersRegister
filtersRegister: object
Private mobileMode
mobileMode: boolean = isRunningOnMobile
options
options
: Options = new SvgMap.Options ()
A
SvgMapis defined in a SVG file and it's correspond to thesvgtag elementThe
SvgMapelements contain anSVGImageElementand a series of Region2d elements.This image define the maximum
viewBoxof the SVG, so it MUST define thex,y,width,heightattributes.By default this image must have the id equal to
"background",you can change the query selector with SvgMap.Options.backgroundSelectorExample: