This tutorial demonstrates how to implement and use 3D measurement tools in your mapping application. 3D measurements allow users to calculate distances, areas, and heights in three-dimensional space, providing more accurate spatial analysis in environments with elevation changes or vertical structures.
You'll learn how to:
- Switch between 2D and 3D viewing modes
- Change map orientation for optimal measurement perspectives
- Use various measurement tools (point, line, polygon, rectangle, circle)
- Measure heights and relative heights of 3D objects
- Monitor 3D data availability status
- Handle measurement events to capture and process measurement data
3D measurement capabilities are essential for advanced spatial analysis applications such as urban planning, construction, telecommunications, and environmental assessment. This functionality enables users to make precise measurements that account for terrain elevation and building heights, resulting in more accurate distance, area, and volumetric calculations.
3d Status
Off
Mode Controls
Orientation Controls
Measurement tools
index.html
main.js