Пример #1
0
        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);
        }
Пример #2
0
 internal override void InvalidateMapObject()
 {
     handle = null;
 }