Skip to content

1.8. Map route

kirillo edited this page May 30, 2016 · 5 revisions

Description

Component represents map with route between two points. Google Maps as a base map. Animation of route?

Elements

  • title
  • pointStart *
  • pointEnd *

* - required

JSON representation

{
  "id": "mapRouteId",
  "title": "Map title",     
  "pointStart": {
      "id": "mapPointId1",
      "lat": -25.363,
      "lng": 131.044,
      "title": "My map marker1",
      "type": 6
   },
   "pointEnd": {
       "id": "mapPointId2",
       "lat": -25.363,
       "lng": 131.044,
       "title": "My map marker2",
       "type": 6 
   },
  "type": 8
}