Use GetTilingScheme(string resourceName) to get the tilingscheme for the specific resource. The TilingScheme for a specific resource can be null whereas Map.TilingScheme would never be null after the map has been initialized. If you were using Map.TilingScheme.ViewWidth, use Map.ViewWidth directly instead.
Syntax
Visual Basic (Declaration) | |
---|
<ResDescriptionAttribute("Properties of the display tiling scheme the map will use for seamless panning and possibly tile caching.")>
<ObsoleteAttribute("Use GetTilingScheme(string resourceName) to get the tilingscheme for the specific resource.
The TilingScheme for a specific resource can be null whereas Map.TilingScheme would never be null
after the map's size has been initialized.
If you were checking Map.TilingScheme to see if the map's size has been initialized, check if
Map.ViewWidth is greater than -1 instead.
If you were using Map.TilingScheme.ViewWidth, use Map.ViewWidth directly instead.")>
<BrowsableAttribute(False)>
Public Overridable ReadOnly Property TilingScheme As TilingScheme |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Map
Dim value As TilingScheme
value = instance.TilingScheme |
C# | |
---|
[ResDescriptionAttribute("Properties of the display tiling scheme the map will use for seamless panning and possibly tile caching.")]
[ObsoleteAttribute("Use GetTilingScheme(string resourceName) to get the tilingscheme for the specific resource.
The TilingScheme for a specific resource can be null whereas Map.TilingScheme would never be null
after the map's size has been initialized.
If you were checking Map.TilingScheme to see if the map's size has been initialized, check if
Map.ViewWidth is greater than -1 instead.
If you were using Map.TilingScheme.ViewWidth, use Map.ViewWidth directly instead.")]
[BrowsableAttribute(false)]
public virtual TilingScheme TilingScheme {get;} |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also