CylinderVolumeMarker(markerOptions)

a marker with regular polygon shape that extrude vertically

new CylinderVolumeMarker(markerOptions)

Parameters:
Name Type Description
markerOptions object

options for creation

Properties
Name Type Attributes Default Description
position LngLatAlt

center of the marker, only lng and lat will be in effects

radius number

radius of the marker, in meters

sided number

number of sides of the marker

top number

top of the marker, in meters

bottom number

bottom of the marker, in meters

volume.color number <optional>
0xff0000

color of the volume in hex number

volume.opacity number <optional>
0.1

opacity of the volume

See:
Example

construction

 let cylinderVolumeMarker = new altizure.CylinderVolumeMarker({
   position: {lng: 121.62199313850867, lat: 31.21593319676947, alt: 0},
   radius: 100,
   top: 100,
   bottom: 1,
   color: 0x0000ff,
   opacity: 0.3,
   sandbox: sandbox
 })

Extends

Members

radius

set the radius of the marker

Overrides:

sided

override setter sided to make sure sided >= 91

Overrides: