logo
API Documentation
Tutorials
Getting Started Initialization Layers Third party Controls Geometries Vector styles Measures InfoBox Utils
Releases

Tutorials

  • Getting Started
    • Setup
  • Initialization
    • Init with token
    • Init with username/password
    • Init with constrained zoom levels
    • Init empty map
    • Init with multiple maps
    • Init in 3D mode
    • Init with image 3D mode
    • Init map with a restricted extent
  • Layers
    • XYZ Tile
    • WMS Tile
    • WMTS Tile
    • Vector Layer
    • Vector Tiles
    • WFS Layer
    • ArcGIS Feature
    • Group Layer
  • Third party
    • Google
    • Google side by side
    • Cesium
  • Controls
    • Basics
    • Map modes
    • Map orientations
    • Layer control
    • Zoom control
    • Map Bar Control
    • Map Button
    • Map Toggle
    • Vexcel image metadata
    • Vexcel find collection
    • Vexcel show collection
    • Vexcel Infrared
    • Brightness and Contrast Control
  • Geometries
    • Point
    • Line
    • Polygon
    • MultiPolygon
    • WKT reader
    • GeoJSON reader
    • Feature click
    • Feature hover
  • Vector styles
    • Polygon styles
    • Point styles
    • Point shapes styles
    • Text styles
    • Feature styles
  • Measures
    • 2D mode
    • 3D mode
    • Change units
    • Edit
    • Tooltips
    • Custom Tooltips
  • InfoBox
    • InfoBox fixed
    • InfoBox on click
    • InfoBox feature
  • Utils
    • Transform

Tutorial

Edit


This tutorial demonstrates how to create, edit, and manage measurement geometries in your mapping application. Measurement editing allows users to modify existing measurements, refine spatial analyses, and clear unwanted measurements from the map.

You'll learn how to:

  • Create different types of measurement geometries (points, lines, polygons, rectangles, circles)
  • Toggle edit mode to modify existing measurements
  • Clear all measurements from the map
  • Handle measurement events to capture data at different stages
  • Process measurement information in GeoJSON format

Measurement editing capabilities are essential for interactive mapping applications that require precise spatial analysis. This functionality allows users to refine their measurements, correct errors, and update analyses as needed, providing a more flexible and user-friendly measurement experience.



Classes:

  • Map
  • Measure
  • MeasurementManager

index.html

        
      

main.js

        
    

Documentation generated by Vexcel Imaging