Interface MapDependencyService
Represents the map dependency service.
Namespace: Syncfusion.SfMaps.XForms
Assembly: Syncfusion.SfMaps.XForms.dll
Syntax
public interface MapDependencyService
Methods
DeleteTilesFromCache(Object)
To delete the tiles from application cache.
Declaration
void DeleteTilesFromCache(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Maps native obj. |
GeopointToViewPoint(Double, Double, Object)
To get point from latitude and longitude values.
Declaration
Point GeopointToViewPoint(double latitude, double longitude, object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Double | latitude | get latitude value. |
System.Double | longitude | get longitude value. |
System.Object | obj | get maps object. |
Returns
Type | Description |
---|---|
Xamarin.Forms.Point | Returns the view point. |
GetLatLonFromPoint(Point, Object)
To get latitude and longitude from point.
Declaration
Point GetLatLonFromPoint(Point value, object obj)
Parameters
Type | Name | Description |
---|---|---|
Xamarin.Forms.Point | value | to get value. |
System.Object | obj | to get object. |
Returns
Type | Description |
---|---|
Xamarin.Forms.Point | Returns the point. |
ReadAsJsonStream(Stream, Object)
To read json stream.
Declaration
void ReadAsJsonStream(Stream stream, object obj)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | to get stream. |
System.Object | obj | to get object. |
ReadAsStream(Stream, Stream, Object)
To load the shape and db file from stream.
Declaration
void ReadAsStream(Stream shapeStream, Stream dbStream, object obj)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | shapeStream | shape file stream. |
System.IO.Stream | dbStream | db file stream. |
System.Object | obj | to get object. |
ReadAsStream(Stream, Object)
to read stream.
Declaration
void ReadAsStream(Stream stream, object obj)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | to get stream. |
System.Object | obj | to get object. |
SubscribeGeoCoordinateChanged(ImageryLayer, Object)
To Subscribe the GeoCoordinateChanged event.
Declaration
void SubscribeGeoCoordinateChanged(ImageryLayer imageryLayer, object nativeObject)
Parameters
Type | Name | Description |
---|---|---|
ImageryLayer | imageryLayer | ImageryLaer. |
System.Object | nativeObject | Native Object. |
SubscribeShapeSelectionChanged(ShapeFileLayer, Object)
To Subscribe the SubscribeShapeSelection event.
Declaration
void SubscribeShapeSelectionChanged(ShapeFileLayer shapeFileLayer, object nativeObject)
Parameters
Type | Name | Description |
---|---|---|
ShapeFileLayer | shapeFileLayer | ImageryLaer. |
System.Object | nativeObject | Native Object. |
SubscribeTooltipOpening(SfMaps, Object)
To Subscribe the SubscribeTooltipOpening event.
Declaration
void SubscribeTooltipOpening(SfMaps maps, object nativeObject)
Parameters
Type | Name | Description |
---|---|---|
SfMaps | maps | SfMaps. |
System.Object | nativeObject | Native Object. |
SubscribeZoomLevelChanging(ImageryLayer, Object)
To Subscribe the ZoomLevelChanging event.
Declaration
void SubscribeZoomLevelChanging(ImageryLayer imageryLayer, object nativeObject)
Parameters
Type | Name | Description |
---|---|---|
ImageryLayer | imageryLayer | ImageryLaer. |
System.Object | nativeObject | Native Object. |
UnsubscribeGeoCoordinateChanged(ImageryLayer, Object)
To UnSubscribe the GeoCoordinateChanged event.
Declaration
void UnsubscribeGeoCoordinateChanged(ImageryLayer imageryLayer, object nativeObject)
Parameters
Type | Name | Description |
---|---|---|
ImageryLayer | imageryLayer | ImageryLaer. |
System.Object | nativeObject | Native Object. |
UnsubscribeShapeSelectionChanged(ShapeFileLayer, Object)
To Subscribe the UnsubscribeShapeSelection event.
Declaration
void UnsubscribeShapeSelectionChanged(ShapeFileLayer shapeFileLayer, object nativeObject)
Parameters
Type | Name | Description |
---|---|---|
ShapeFileLayer | shapeFileLayer | ImageryLaer. |
System.Object | nativeObject | Native Object. |
UnsubscribeTooltipOpening(SfMaps, Object)
To Subscribe the UnsubscribeTooltipOpening event.
Declaration
void UnsubscribeTooltipOpening(SfMaps maps, object nativeObject)
Parameters
Type | Name | Description |
---|---|---|
SfMaps | maps | SfMaps. |
System.Object | nativeObject | Native Object. |
UnsubscribeZoomLevelChanging(ImageryLayer, Object)
To UnSubscribe the ZoomLevelChanging event.
Declaration
void UnsubscribeZoomLevelChanging(ImageryLayer imageryLayer, object nativeObject)
Parameters
Type | Name | Description |
---|---|---|
ImageryLayer | imageryLayer | ImageryLaer. |
System.Object | nativeObject | Native Object. |