addDirection abstract method
void
addDirection(})
Adds a direction to the map by given origin
and destination
coordinates.
origin
and destination
are dynamic
due to following variations:
If direction with same origin
and destination
have been already added,
addition of a new polygon will be ignored.
Implementation
void addDirection(
dynamic origin,
dynamic destination, {
String startLabel,
String startIcon,
String startInfo,
String endLabel,
String endIcon,
String endInfo,
});