Mobile App Development Software
Alpha TransForm
|
Alpha Anywhere - Build Apps for Free
Alpha Software
Documentation
  • Reference
  • Client API
  • UX
  • map control methods
  • clearRoute method
Parent | Child | Previous | Next
  • addMarker method
  • clearRoute method
  • deemphasizeMarker method
  • deemphasizeMarkerGroup method
  • empasizeMarker method
  • emphasizeMarkerGroup method
  • getMarkerGroupPositions method
  • getMarkerPositions method
  • getRoute method
  • plotRoute method
  • refresh method
  • removeMarker method
  • removeMarkerGroup method
  • setCenter method
  • setMarkerDisplay method
  • setZoom method
  • showMarkerDetail method
  • view method
  • viewMarkerGroups method
  • viewMarkers method
 
JavaScript

mapControl.clearRoute Method

Syntax

mapObj.clearRoute();

Description

Clears a route previously plotted in a Map Control.

Example

//get a pointer to the map control for variable 'mymap1'
var mapObj = {dialog.object}.getControl('mymap1');

if (mapObj) {
    mapObj.clearRoute();
}
Report an issue with this page
Mobile App Development Software

Alpha TransForm - Quickly Build Enterprise Mobile Forms
- Try it for Free

Alpha Anywhere - Low Code Platform for Mobile Developers
- Build Apps for Free
Alpha Software Corporation

781.229.4500
© Copyright 2000-2020 Alpha Software Corporation. All Rights Reserved

Privacy Policy