public Marker AddMarker([NotNull] MarkerOptions markerOptions) { if (GoogleMapUtils.IsPlatformNotSupported) { return(new Marker()); } CheckIfDismissed(); #if UNITY_IOS && !DISABLE_IOS_GOOGLE_MAPS var options = Json.Serialize(markerOptions.ToDictionary()); var markerPtr = _googleMapsViewAddMarker(_mapPtr, options); return(new Marker(markerPtr, _mapPtr)); #endif #pragma warning disable 0162 var markerAJO = _ajo.MainThreadCallAJO("addMarker", markerOptions.ToAJO()); return(new Marker(markerAJO)); #pragma warning restore 0162 }
public ClusterItem(LatLng position) { MarkerOptions = new MarkerOptions() .Position(position); }
public ClusterItem([NotNull] MarkerOptions markerOptions) { MarkerOptions = markerOptions; }