Class SFMapsDelegate
Inheritance
System.Object
SFMapsDelegate
Namespace: Syncfusion.SfMaps.iOS
Assembly: Syncfusion.SfMaps.iOS.dll
Syntax
public class SFMapsDelegate : Object
Constructors
SFMapsDelegate()
Initializes a new instance of the SFMapsDelegate class.
Declaration
public SFMapsDelegate()
Methods
DidLoad(SFMap)
To check whether the map is loaded
Declaration
public virtual void DidLoad(SFMap map)
Parameters
| Type | Name | Description |
|---|---|---|
| SFMap | map | To set value for map |
DidPan(SFMap, Single, Single, String)
To check whether the pan is enabled.
Declaration
public virtual void DidPan(SFMap map, float x, float y, string eventState)
Parameters
| Type | Name | Description |
|---|---|---|
| SFMap | map | To set map value |
| System.Single | x | X coordinate of the panning point. |
| System.Single | y | Y coordinate of the panning point. |
| System.String | eventState | Current state of the panning event. |
DidSelectMarker(SFMap, SFMapMarker)
Declaration
public virtual void DidSelectMarker(SFMap map, SFMapMarker marker)
Parameters
| Type | Name | Description |
|---|---|---|
| SFMap | map | |
| SFMapMarker | marker |
DidSelectShape(SFMap, NSObject)
Declaration
public virtual void DidSelectShape(SFMap map, NSObject data)
Parameters
| Type | Name | Description |
|---|---|---|
| SFMap | map | |
| Foundation.NSObject | data |
DidZoom(SFMap, Single)
To set zoom
Declaration
public virtual void DidZoom(SFMap map, float level)
Parameters
| Type | Name | Description |
|---|---|---|
| SFMap | map | To set value for map |
| System.Single | level | To set value for level |
DrawMapPoint(SFMap, CGPoint)
To draw the map point
Declaration
public virtual UIView DrawMapPoint(SFMap map, CGPoint point)
Parameters
| Type | Name | Description |
|---|---|---|
| SFMap | map | To set map point |
| CoreGraphics.CGPoint | point | To set point value |
Returns
| Type | Description |
|---|---|
| UIKit.UIView | returns the view |
DrawMarker(SFMap, SFMapMarker, CGPoint)
To draw the marker
Declaration
public virtual UIView DrawMarker(SFMap map, SFMapMarker marker, CGPoint point)
Parameters
| Type | Name | Description |
|---|---|---|
| SFMap | map | To set map value |
| SFMapMarker | marker | To set marker value |
| CoreGraphics.CGPoint | point | To set point value |
Returns
| Type | Description |
|---|---|
| UIKit.UIView | returns the view |
OnMarkerSelected(SFMap, MarkerSelectedEventArgs)
Raised when tha marker is selected
Declaration
public virtual void OnMarkerSelected(SFMap map, MarkerSelectedEventArgs markerSelectedEventArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| SFMap | map | SFMap |
| MarkerSelectedEventArgs | markerSelectedEventArgs | Mapmarker and Custom View |