MarkerOptions is a builder for Markers. It is derived from BaseMarkerOptions<U extends Marker,T extends BaseMarkerOptions<U,T>> and should return always T, so that the following is possible:
var markerOpts = new MarkerOptions().SetTitle("Title").SetSnippet("Snippet");
This isn't possible, because all functions (SetTitle(), SetSnippet() and so on) return Java.Lang.Object.
MarkerOptions is a builder for Markers. It is derived from BaseMarkerOptions<U extends Marker,T extends BaseMarkerOptions<U,T>> and should return always T, so that the following is possible:
This isn't possible, because all functions (SetTitle(), SetSnippet() and so on) return Java.Lang.Object.