Class: OSM3

OSM3(options)

Api to manage tiles and 3d geojson objects.

Constructor

new OSM3(options)

This will create OSM3.s3, manage camera, controls, gis-center.

Parameters:
Name Type Description
options object

(optional)
options.lookAt {lon, lat, h}, options.campos {lon, lat, h}, options.cavas {canvas} [optional] html5 cavas options.verbose {int} [optional] verbose levle

Source:

Classes

OSM3

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