FMKLayerDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | FMKLayerDelegate.h |
– onMapClickNode:inLayer:gestureRecognizer:
required method
当地图上的节点元素被拾取到时,遵循该协议的层将会调用该方法 拾取事件要先于地图单击事件,若拾取不成功则会响应地图事件
- (void)onMapClickNode:(FMKNode *)node inLayer:(FMKLayer *)layer gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer
Parameters
node |
被拾取到的节点元素 |
---|---|
layer |
被拾取到的节点所在的层 |
gestureRecognizer |
触发的手势 |
Declared In
FMKLayerDelegate.h