This class contains methods fot WayPoints creation or modifications See theWayPointEditor for the one and only one instance of this class
This method add a WayPoint
| Name | Type | Description |
|---|---|---|
| latLng | Array of Number | The latitude and longitude where the WayPoint will be added |
This method add a waypoint at a given position on the edited route. It's used to add a WayPoint by dragging
| Name | Type | Description |
|---|---|---|
| initialLatLng | Array of Number | The latitude and longitude from witch the WayPoint is coming |
| finalLatLng | Array of Number | The latitude and longitude where the WayPoint will be added |
This method remove a WayPoint
| Name | Type | Description |
|---|---|---|
| wayPointObjId | Number | The objId of the WayPoint to remove |
This method reverse the waypoints order
This method set the ending WayPoint
| Name | Type | Description |
|---|---|---|
| latLng | Array of Number | The latitude and longitude where the WayPoint will be added |
This method set the starting and ending WayPoint
| Name | Type | Description |
|---|---|---|
| latLng | Array of Number | The latitude and longitude where the WayPoints will be added |
This method set the starting WayPoint
| Name | Type | Description |
|---|---|---|
| latLng | Array of Number | The latitude and longitude where the WayPoint will be added |
This method is called when a drag of a WayPoint ends on the map
| Name | Type | Description |
|---|---|---|
| dragEndEvent | Number | The drag event |
This method shows the WayPointPropertiesDialog
| Name | Type | Description |
|---|---|---|
| wayPointObjId | Number | The objId of the WayPoint that modify |
This method rename a WayPoint with data from Nominatim
| Name | Type | Description |
|---|---|---|
| wayPoint | WayPoint | The wayPoint to rename |
This method set the ending WayPoint
| Name | Type | Description |
|---|---|---|
| latLng | Array of Number | The latitude and longitude where the WayPoint will be added |