ViewerLabel
Interface: ViewerLabel
Text anchored in the real world, drawn over the panorama. See WemapViewer.setLabels.
Properties
color?
optionalcolor?:string
Text colour (CSS). Defaults to a near-black ink.
coordinates
coordinates:
Coordinates
Where the text is centred. Needs an altitude, in the same reference as the graph nodes'.
haloColor?
optionalhaloColor?:string
Halo colour around the text (CSS). Defaults to white.
text
text:
string