API Docs for:
Show:

Report Class

This class contains functionality of details of a ticket in Ticket report(Open & Close)

Constructor

Report

()

Methods

createMarkerVanDealer

(
  • position
  • icon
  • title
)

Function to draw markers on position of van / dealer

Parameters:

  • position String

    The location of source van / dealer

  • icon String

    The icon of marker

  • title String

    The title of marker

drawRoute

(
  • startLatLng
  • endLatLng
  • mapID
)

This fn calculates and draws the Route for the Ticket selected in the Ticket List using Google Direction API

Parameters:

  • startLatLng String

    The lat lng of origin

  • endLatLng String

    The lat lng of destination

  • mapID String

    The id of map

getReverseGeoCode

(
  • latLng
  • callback
)

This function reverses the Lat Lng to Get the Approxmiate Address using the Google GeoCoding. Callback the result

Parameters:

  • latLng String

    The lat lng of origin

  • callback String

    The callback function

getVanBreakdownLocation

(
  • vanDealerLocation
  • breakdownLocation
)

Function to draw path between source van and destination breakdown vehicle

Parameters:

  • vanDealerLocation String

    The location of source van / dealer

  • breakdownLocation String

    The location of vehicle's breakdown

initMap

(
  • id
)

Load google map on page.

Parameters:

  • id String

    HTML element id where map is loaded.

onclickLabelActivity

()

Function call on click of Activity label to show ticket activity

onclickLabelRoute

()

Function call on click of Route label to show map

onExpand

()

Function call on expanding data of kendo panelbar