Pyramid.MapShapes

Description

Name

class Tinman.Pyramid.MapShapes

Derived from

Builder

A pixel pyramid that rasterizes vector shapes.

Fields / Required

size

Type

number

Constraint

# > 0

The size of the bottom-most pyramid level, in pixels. Will be round up to the next power of two.


shapes

Type

Pyramid.MapShape[]

Constraint

# != null

The pixel pyramid vector shapes to render.

Fields / Optional

cube

Type

bool

Default

true

Create an unprojected cubemap pyramid (true) or a projected rectangular pyramid ( false).


tile

Type

number

Constraint

# > 0

Default

256

The tile size, in pixels. Will be round up to the next power of two.


pad

Type

number

Constraint

# >= 0

Default

0

The tile pad of the pyramid, in pixels.


georef

Type

Tinman.Georef

Default

null

The georeference of the pyramid.


accuracy

Type

number

Constraint

# >= 0

Default

0

Optional accuracy to use for subdivision of vector shape edges. Given as a maximum error in the georeference coordinate system of this pixel pyramid.

Fields / External

info

Holds detail information about this pixel pyramid.