addMarkerRaw method
void
addMarkerRaw(
- GeoCoord position, {
- String? label,
- String? icon,
- String? info,
- String? infoSnippet,
- ValueChanged<
String> ? onTap, - VoidCallback? onInfoWindowTap,
override
Adds a marker to the map by given position
.
label
can be set only for web
.
If icon
is set, must be a path to an image from project root
as follows: assets/images/image.png
. Or it must be an instance
of ByteString.
If info
is set and click event will be fired, will be shown popup with info
within.
infoSnippet
sets snippet text for InfoWindow
.
If onTap
is not null, info
popup will not be shown.
if onInfoWindowTap
is set, it will be called once InfoWindow will be tapped.
If marker with same position
have been already added, addition of a new marker will be ignored.
Implementation
@override
void addMarkerRaw(
GeoCoord position, {
String? label,
String? icon,
String? info,
String? infoSnippet,
ValueChanged<String>? onTap,
VoidCallback? onInfoWindowTap,
}) =>
throw UnimplementedError();