getMarkerAt method
- int index
Get the marker at the given index.
Return empty if index is not valid.
Parameters
- IN index The marker index.
Returns
- Marker object. If the index is not valid then empty Marker is returned.
Throws
- An exception if it fails.
Implementation
Marker getMarkerAt(final int index) {
final OperationResult resultString = objectMethod(
_pointerId,
'MarkerCollection',
'getMarkerAt',
args: index,
);
return Marker.init(resultString['result'], _mapId);
}