internal Marker(Geocoordinates coordinates, string imagePath, Interop.ViewMarkerType type) { var err = Interop.ErrorCode.InvalidParameter; if (coordinates == null || imagePath == null) { err.ThrowIfFailed("given coordinates or imagePath is null"); } handle = new Interop.MarkerHandle(coordinates.handle, imagePath, type); }
internal override void InvalidateMapObject() { handle = null; }