GeoJsonComponent
Members
Name |
Documentation |
Type |
Description |
Optional |
---|---|---|---|---|
|
Path to the GeoJSON file to base the rendering on. |
|
Value of type ‘File’ |
No |
|
The unique identifier for this layer. May not contain ‘.’ or spaces |
|
Value of type ‘String’ |
No |
|
A latitude and longitude offset value, in decimal degrees. Can be used to move the object on the surface and correct potential mismatches with other renderings. Note that changing it during runtime leads to all positions being recomputed. |
|
Value of type ‘Vector2 |
Yes |
|
These properties will be used as default values for the geoJson rendering, meaning that they will be used when there is no value given for the individual geoJson features |
|
Yes |
|
|
A human-readable description of the layer to be used in informational texts presented to the user |
|
Value of type ‘String’ |
Yes |
|
If true, draw the wire frame of the polygons. Used for testing and to investigate tessellation results. |
|
Value of type ‘Boolean’ |
Yes |
|
This setting determines whether this object will be visible or not. |
|
Value of type ‘Boolean’ |
Yes |
|
A height offset value, in meters. Useful for moving a feature closer to or farther away from the surface. |
|
Value of type ‘Double’ |
Yes |
|
If true, ignore any height values that are given in the file. Coordinates with three values will then be treated as coordinates with only two values |
|
Value of type ‘Boolean’ |
Yes |
|
A list of light sources that this object should accept light from |
|
Yes |
|
|
An extra scale value that can be used to increase or decrease the width of any rendered lines in the component, even if a value is set from the GeoJson file. Note that there is a max limit for how wide lines can be. |
|
Value of type ‘Double’ |
Yes |
|
A human-readable name for the user interface. If this is omitted, the identifier is used instead |
|
Value of type ‘String’ |
Yes |
|
The opacity of the component |
|
In range: ( 0,1 ) |
Yes |
|
Decides how the billboards for the points should be rendered in terms of up direction and whether the plane should face the camera. See details on the different options in the wiki. |
|
In list { Camera Direction, Camera Position, Globe Normal, Globe Surface } |
Yes |
|
An extra scale value that can be used to increase or decrease the scale of any rendered points in the component, even if a value is set from the GeoJson file. |
|
Value of type ‘Double’ |
Yes |
|
If true, the polygon mesh will not be automatically updated based on the heightmap, even if the ‘RelativeToGround’ altitude option is set and the heightmap updates. The data can still be force updated. |
|
Value of type ‘Boolean’ |
Yes |
Table parameters for LightSources
A list of light sources that this object should accept light from
Optional: Yes
Name |
Documentation |
Type |
Description |
Optional |
---|---|---|---|---|
|
|
Yes |