8 #import <UIKit/UIKit.h> 9 #import <CoreLocation/CoreLocation.h> 16 @protocol NMSMapViewDelegate <NSObject>
46 - (BOOL)moveToLocation:(CLLocationCoordinate2D)location animated:(BOOL)animate;
54 - (BOOL)moveToZoom:(
float)zoom animated:(BOOL)animate;
63 - (BOOL)moveToLocation:(CLLocationCoordinate2D)location andZoom:(
float)zoom animated:(BOOL)animate;
70 - (BOOL)zoomInAnimated:(BOOL)animate;
77 - (BOOL)zoomOutAnimated:(BOOL)animate;
85 - (CLLocationCoordinate2D)coordinateForPoint:(CGPoint)point;
101 @property(nonatomic, assign)NMSGPSMode
gpsMode;
103 @property(nonatomic, assign)id<NMSMapViewDelegate>
delegate;
id< NMSMapViewDelegate > delegate
NMSMapView delegate.
Dynamic settings of the map.
NMSCameraPosition * camera
The current camera position.
View that contains the map. Only one map view can be active at any given time.
NMSGPSMode gpsMode
Set the GPS Mode. GPS Services must be enabled.
BOOL activate()
Activate the map. Only one map view can be active at any given time.
NMSMapSettings * settings
Settings to modify the map appearance.
void clearOverlays()
Remove all the overlay linked to the map.
Camera position parameters.