Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.09 KB

maprendermode-enumeration.md

File metadata and controls

42 lines (31 loc) · 1.09 KB
title description ms.author
MapRenderMode Enumeration | Microsoft Docs
Describes the MapRenderMode enumeration for Android and iOS and provides the enumeration's Raster and Vector values.
pablocan

MapRenderMode Enumeration

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

Defines primary data source for rendering map.

Android

public enum MapRenderMode
{
    RASTER,
    VECTOR
}

iOS

typedef NS_ENUM(NSInteger, MSMapRenderMode)
{
    MSMapRenderModeRaster,
    MSMapRenderModeVector
}

Values

Raster

Pre-rendered raster tiles are downloaded and used to display the map. This will generally give the fastest framerate.

Vector

Vector data is downloaded and rendered client side to display the map. This will use less data for sustained map use since vector data covers a larger area with a smaller amount of data than raster tiles. Labels are also rendered client side which makes them more readable since they are not scaled like the background tiles.