Namespace: og

og

Classes

BaseBillboard
Billboard
Camera
Clock
Console
Ellipsoid
Entity
EntityCollection
Events
Extent
FontDetector
Frustum
Globus
ImageCanvas
Label
LightSource
LonLat
PlanetCamera
PointCloud
Polyline
Rectangle
Renderer
RendererEvents

Namespaces

ajax
astro
bv
control
inheritance
input
jd
layer
math
mercator
orbit
proj
quadTree
scene
shaderProgram
shape
terrainProvider
utils
webgl

Members

static,constantog.SHADERS_URLstring

External shader programs folder url.

Methods

staticog.entity(options, properties)

Instantiates an og.Entity object.
Name Type Description
options Object optional Entity options:
Name Type Description
name string optional A human readable name to display to users. It does not have to be unique.
cartesian og.math.Vector3 | Array.<number> optional Spatial entities like billboard, lanel, sphere etc. cartesian position.
lonlat og.LonLat optional Geidetic coordiantes for an entities like billboard, lanel, sphere etc. cartesian position.
aground boolean optional Geodetic type entity replaces over a relief.
visibility boolean optional Entity visibility.
billboard * optional Billboard options.
label * optional Label options.
polyline * optional polyline options.
sphere * optional Sphere shape options.
box * optional Box shape options.
pointCloud * optional Point cloud options.
geometry * optional Geometry options (see og.Geometry), available for vector layer only.
properties * optional Entity custom properties.

staticog.extent(sw, ne){og.Extent}

Creates extent instance.
Name Type Description
sw og.LonLat South west(left bottom) extent corner.
ne og.LonLat North east(right top) extent corner.
Returns:
Type Description
og.Extent Extent instance.

staticog.lightSource(name, params){og.LightSource}

Creates light source object.
Name Type Description
name string optional Light name.
params Object optional Light parameters.
Returns:
Type Description
og.LightSource

staticog.lonLat(lon, lat, height){og.LonLat}

Creates an object representing a geographical point with the optionaly given latitude, longitude and height.
Name Type Description
lon number optional Longitude.
lat number optional Latitude.
height number optional Height over the surface.
Returns:
Type Description
og.LonLat

staticog.lonLatArray()

Creates coordinates array.