Properties
Optional canvas Bounds
canvas Bounds ?: { align : string ; maxHeight : number ; maxWidth : number ; rotation : number ; x : number ; y : number ; }
Type declaration
align : string
max Height : number
max Width : number
rotation : number
x : number
y : number
Optional category Rank
category Rank ?: number
Optional external Id
external Id ?: string
Optional holes
holes ?: unknown []
Optional image
image ?: { _isAbsolutelyPositioned ?: boolean ; fitToBounds : boolean ; original : string | Blob ; position : { x : number ; y : number ; z : number ; } ; rotation : { x : number ; y : number ; z : number ; } ; scale : { x : number ; y : number ; } ; url : string | Blob ; useLocalScaling : boolean ; viewBox : { height : number ; width : number ; } ; visible : boolean ; }
Type declaration
Optional _is Absolutely Positioned ?: boolean
fit To Bounds : boolean
original : string | Blob
position : { x : number ; y : number ; z : number ; }
x : number
y : number
z : number
rotation : { x : number ; y : number ; z : number ; }
x : number
y : number
z : number
scale : { x : number ; y : number ; }
url : string | Blob
use Local Scaling : boolean
view Box : { height : number ; width : number ; }
height : number
width : number
visible : boolean
Optional label
label ?: { align : string ; color : string ; fontFamily : string ; fontSize : number ; position : { x : number ; y : number ; z : number ; } ; rotation : { x : number ; y : number ; z : number ; } ; text : string ; visible : boolean ; }
Type declaration
align : string
color : string
font Family : string
font Size : number
position : { x : number ; y : number ; z : number ; }
x : number
y : number
z : number
rotation : { x : number ; y : number ; z : number ; }
x : number
y : number
z : number
text : string
visible : boolean
Optional layer
layer ?: string
Optional layer Id
layer Id ?: string
material
material : { color : string ; opacity ?: number ; }
Type declaration
color : string
Optional opacity ?: number
Optional name
name ?: string
Optional perspectives
perspectives ?: any
Optional textures
textures ?: { image : any ; name : "front" | "side" ; useFrontFaceImage ?: boolean ; } []
Type declaration
image : any
name : "front" | "side"
Optional use Front Face Image ?: boolean
Optional vertexes
vertexes ?: { x : number ; y : number ; } []
The MappedinPolygon class represents the 3D shape of a MappedinLocation on a {MappedinMap. Polygons have access to Locations they belong to, and any entrances to the Polygon.
A Polygon can have more properties but usually the default is sufficient. The Mappedin'things' object is where you would specify what properties you want to download for Polygons. Only specify what you will actually use, to minmimze transfer time. Work with your Mappedin developer relations contact to set up any custom properties you need.