Class LocalMapProvider
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadMap.dll
Syntax
public class LocalMapProvider : IMapProvider, ICloneable, IMapTileProvider
Constructors
LocalMapProvider()
LocalMapProvider(String, String)
Initializes a new instance of the LocalMapProvider class.
Declaration
public LocalMapProvider(string directoryPath, string fileFormat)
Parameters
System.String
directoryPath
The directory path. |
System.String
fileFormat
The file format. |
Properties
CacheProvider
Declaration
public IMapCacheProvider CacheProvider { get; set; }
Property Value
IMapCacheProvider
|
Implements
DirectoryPath
Declaration
public virtual string DirectoryPath { get; set; }
Property Value
System.String
|
EnableCaching
Declaration
public bool EnableCaching { get; set; }
Property Value
System.Boolean
|
Implements
FileFormat
Declaration
public virtual string FileFormat { get; set; }
Property Value
System.String
|
Id
Declaration
public virtual string Id { get; }
Property Value
System.String
|
Implements
Initialized
Gets or sets a value indicating whether this LocalMapProvider is initialized.
Declaration
public bool Initialized { get; protected set; }
Property Value
System.Boolean
|
MaxZoomLevel
Declaration
public virtual int MaxZoomLevel { get; set; }
Property Value
System.Int32
|
Implements
MinZoomLevel
Declaration
public virtual int MinZoomLevel { get; set; }
Property Value
System.Int32
|
Implements
NoImageAvailable
Gets or sets an image that will be displayed when a tile image cannot be retrieved or does not exist.
Declaration
public Image NoImageAvailable { get; set; }
Property Value
System.Drawing.Image
The no image available. |
TileDownloader
Declaration
public IMapTileDownloader TileDownloader { get; set; }
Property Value
IMapTileDownloader
|
Implements
TileSize
Declaration
public Size TileSize { get; set; }
Property Value
System.Drawing.Size
|
Implements
Methods
Clone()
Declaration
public virtual object Clone()
Returns
System.Object
|
Implements
GetContent(IMapViewport)
Declaration
public virtual IEnumerable<MapVisualElement> GetContent(IMapViewport viewport)
Parameters
IMapViewport
viewport
|
Returns
System.Collections.Generic.IEnumerable<MapVisualElement>
|
Implements
GetSupportedViews()
Declaration
public virtual List<MapViewInfo> GetSupportedViews()
Returns
System.Collections.Generic.List<MapViewInfo>
|
Implements
GetTileImage(Int32, Int32, Int32)
Declaration
public Image GetTileImage(int x, int y, int zoom)
Parameters
System.Int32
x
|
System.Int32
y
|
System.Int32
zoom
|
Returns
System.Drawing.Image
|
Implements
Initialize()
LoadTile(Int32, Int32, Int32)
Loads the tile image.
Declaration
public virtual Image LoadTile(int x, int y, int zoom)
Parameters
System.Int32
x
The x. |
System.Int32
y
The y. |
System.Int32
zoom
The zoom. |
Returns
System.Drawing.Image
Image. |
OnInitializationComplete(EventArgs)
Declaration
protected virtual void OnInitializationComplete(EventArgs e)
Parameters
System.EventArgs
e
|
OnInitializationError(InitializationErrorEventArgs)
Declaration
protected virtual void OnInitializationError(InitializationErrorEventArgs e)
Parameters
InitializationErrorEventArgs
e
|
OnProviderUpdated(EventArgs)
Declaration
protected virtual void OnProviderUpdated(EventArgs e)
Parameters
System.EventArgs
e
|
SetView(MapViewInfo)
ViewportChanged(IMapViewport, ViewportChangeAction)
Declaration
public virtual void ViewportChanged(IMapViewport viewport, ViewportChangeAction action)
Parameters
IMapViewport
viewport
|
ViewportChangeAction
action
|
Implements
Events
InitializationComplete
Declaration
public event EventHandler InitializationComplete
Event Type
System.EventHandler
|
Implements
InitializationError
Declaration
public event InitializationErrorEventHandler InitializationError
Event Type
InitializationErrorEventHandler
|
Implements
ProviderUpdated
Declaration
public event EventHandler ProviderUpdated
Event Type
System.EventHandler
|