NMSMarker Class Reference

Icon placed at a particular point on the map's surface. More...

#import <NMSMarker.h>

Inheritance diagram for NMSMarker:
NMSOverlay

Class Methods

(instancetype) + markerWithPosition:
 Convenience constructor for a default NMSMarker. More...
 

Properties

CLLocationCoordinate2D position
 Marker position. More...
 
NSString * snippet
 Snippet text Not Supported in this version. More...
 
UIImage * image
 Marker icon to render. More...
 
CGFloat opacity
 Sets the opacity of the marker, between 0 (completely transparent) and 1 (default) inclusive. More...
 
CGPoint anchor
 The anchor specifies the point in the icon image that is anchored to the marker's position on the Earth's surface. More...
 
- Properties inherited from NMSOverlay
NSString * title
 Title, a short description of the overlay. More...
 
NSUInteger zIndex
 Higher zIndex value overlays will be drawn on top of lower zIndex value tile layers and overlays. More...
 
NMSMapViewmap
 The map this overlay is on. More...
 

Detailed Description

Icon placed at a particular point on the map's surface.

Definition at line 14 of file NMSMarker.h.

Method Documentation

◆ markerWithPosition:()

+ (instancetype) markerWithPosition: (CLLocationCoordinate2D)  position

Convenience constructor for a default NMSMarker.

Parameters
positionMarker position.
Returns
the NMSMarker object

Property Documentation

◆ anchor

- (CGPoint) anchor
readwritenonatomicassign

The anchor specifies the point in the icon image that is anchored to the marker's position on the Earth's surface.

Definition at line 39 of file NMSMarker.h.

◆ image

- (UIImage*) image
readwritenonatomicretain

Marker icon to render.

Definition at line 33 of file NMSMarker.h.

◆ opacity

- (CGFloat) opacity
readwritenonatomicassign

Sets the opacity of the marker, between 0 (completely transparent) and 1 (default) inclusive.

Definition at line 36 of file NMSMarker.h.

◆ position

- (CLLocationCoordinate2D) position
readwritenonatomicassign

Marker position.

Definition at line 24 of file NMSMarker.h.

◆ snippet

- (NSString*) snippet
readwritenonatomicretain

Snippet text Not Supported in this version.

Definition at line 30 of file NMSMarker.h.


The documentation for this class was generated from the following file:
  • /Users/jenkins/workspace/mobilesdk-ios/iOS/Deployment/NavionicsMobileSDK.framework/Headers/NMSMarker.h