Back   Forward Collapse All Home > HowTos > Measuring Area/Distance of Polygons 
TalMap SDK Libary Reference
HOWTO: Measure Area and Distance with XLayer of TalMapX Control.
  Summary
  This document describes how to measure area, distance and to edit Object with the XLayer Object provided in TalMapX Control.
With this document, users can learn how to create and control XLayer - Polygons.
Users can measure area and distance with the XLayer related Objects.
Users can click on and edit the created Objects on the map.
  Steps
  1. Get XLayer Manager with CtrlMan of TalMapX Control.
2. Create XLayer Style and set the desired style.
3. Create XLayer Object with NewPolygon() Method of XLayer Manager.
4. Create Polygon for measuring area and Create Polyline for measuring distance.
5. Delete or edit the created Objects.
 Example
 
 JavaScript Copy Code
 VC++ Copy Code
  See Also
  Map Preview
 
top