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 |
[!INCLUDE bing-maps-sdk-for-android-iOS-retirement]
An image that can be used with MapIcon.
Android
public class MapImage
iOS
@interface MSMapImage : NSObject
Android
MapImage(android.graphics.Bitmap bitmap) MapImage(InputStream stream)
iOS
+ (instancetype)imageFromSvg:(NSData *)svgData + (instancetype)imageWithUIImage:(UIImage *)image + (instancetype)imageWithUIView:(UIView *)view
The bitmap associated with this MapImage.
@Nullable android.graphics.Bitmap getBitmap()