Skip to content

PixelOffset

Scott Hunter edited this page May 29, 2019 · 10 revisions

This page describes the possible content of a CZML document or stream. Please read CZML Structure for an explanation of how a CZML document is put together.

PixelOffset

A pixel offset in viewport coordinates. A pixel offset is the number of pixels up and to the right to place an element relative to an origin.

Extends: InterpolatableProperty

Extends: DeletableProperty

Interpolatable: yes

Properties

cartesian2 - Cartesian2Value

The pixel offset specified as a two-dimensional Cartesian value [X, Y], in viewport coordinates in pixels, where X is pixels to the right and Y is pixels up.

reference - ReferenceValue

The pixel offset specified as a reference to another property.

Clone this wiki locally