ISMapViewDelegate Protocol Reference

Conforms to NSObject
Declared in ISMapView.h

Overview

Protocol used to handle the ISMapViewController events.

– onZoneClickedWithZone: required method

Method called when an unsupported Zone is clicked.

- (void)onZoneClickedWithZone:(ISZone *)zone

Parameters

zone

Zone clicked.

Declared In

ISMapView.h

– onMapChangedWithNewMapId:andMapName: required method

Method called when a new map was loaded.

- (void)onMapChangedWithNewMapId:(int)newMapId andMapName:(NSString *)mapName

Parameters

newMapId

New map id.

mapName

New map name.

Declared In

ISMapView.h

– onMapMoved required method

Method called when the map moved.

- (void)onMapMoved

Declared In

ISMapView.h

– onMapClicked: required method

Method called when the map was clicked.

- (void)onMapClicked:(ISPosition *)touchPosition

Parameters

touchPosition

Corresponding touched position (in meters).

Declared In

ISMapView.h

– onZoomEnd: required method

Method called when a new zoomLevel is reached.

- (void)onZoomEnd:(double)newZoom

Parameters

newZoom

New zoom level reached.

Declared In

ISMapView.h

– onMapTouched:andTouchPosition:

Method called when the map was touched

- (void)onMapTouched:(ISGesture)gesture andTouchPosition:(ISPosition *)position

Parameters

gesture

Corresponding to the performed gesture.

position

Corresponding touched position (in meters).

Declared In

ISMapView.h

– onMapReleased

Method called when the map was released.

- (void)onMapReleased

Declared In

ISMapView.h