void AddCircle(LatLng latlng, float radius = 5) { map.Clear(); Debug.Log("++++++++++++++++create Circle"); // outCircle = map.AddCircle(ColorCircleOptions(latlng, radius)); inCircle = map.AddCircle(CreateInitialCircleOptions(latlng, radius)); CenterCamera(inCircle.Center); }
public void OnClearMapClick() { if (_map == null) { return; } _map.Clear(); // All the elements are now removed, we cannot access them any more _circle = null; _marker = null; _groundOverlay = null; _polyline = null; _coloradoPolygon = null; _heatmap = null; }