Constructor
new OSM3(options)
This will create OSM3.s3, manage camera, controls, gis-center.
Parameters:
Name | Type | Description |
---|---|---|
options |
object | (optional) |
- Source:
Classes
Methods
geoMesh(jsonMesh, wireframe) → {THREE.Mesh}
Convert geojson path to world mesh.
Parameters:
Name | Type | Description |
---|---|---|
jsonMesh |
array | mesh (path?) from geojson, in lon-lat tuple. |
wireframe |
boolean | using wireframe material? |
- Source:
Returns:
segment mash or wireframe mesh
- Type
- THREE.Mesh