Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1023 Bytes

mapimage-class.md

File metadata and controls

55 lines (36 loc) · 1023 Bytes
title description ms.author
MapImage Class | Microsoft Docs
Describes the MapImage class for Android and iOS and provides the class' constructor, properties, and additional references.
pablocan

MapImage Class

[!INCLUDE bing-maps-sdk-for-android-iOS-retirement]

An image that can be used with MapIcon.

Android

public class MapImage

iOS

@interface MSMapImage : NSObject

Constructor

Android

MapImage(android.graphics.Bitmap bitmap)
MapImage(InputStream stream)

iOS

+ (instancetype)imageFromSvg:(NSData *)svgData
+ (instancetype)imageWithUIImage:(UIImage *)image
+ (instancetype)imageWithUIView:(UIView *)view

Properties

Bitmap (Android only)

The bitmap associated with this MapImage.

@Nullable android.graphics.Bitmap getBitmap()

See Also

Icons