ios - SKMaps bringToFrontAnnotation : method is working wrong
<p><p>我遇到的问题是,当我调用方法 <code>bringToFrontAnnotation:</code> 时,注释会忽略它的 <code>minZoomLevel</code> 属性。</p>
<p>这就是我正在做的:</p>
<pre><code>- (void)mapView:(SKMapView *)mapView didSelectAnnotation:(SKAnnotation *)annotation
{
;
//...
}
</code></pre>
<p>注释有什么方法可以再次关注其 <code>minZoomLevel</code> 属性?</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>点击问题实际上是一个功能。 SKMapView 的设置属性有一个名为 annotationTapZoomLimit 的属性,默认设置为 12。</p>
<p>见:<a href="http://developer.skobbler.com/docs/ios/2.3.0/Classes/SKMapSettings.html#//api/name/annotationTapZoomLimit" rel="noreferrer noopener nofollow">http://developer.skobbler.com/docs/ios/2.3.0/Classes/SKMapSettings.html#//api/name/annotationTapZoomLimit</a>和 SKMapView 类引用:<a href="http://developer.skobbler.com/docs/ios/2.3.0/Classes/SKMapView.html" rel="noreferrer noopener nofollow">http://developer.skobbler.com/docs/ios/2.3.0/Classes/SKMapView.html</a> </p></p>
<p style="font-size: 20px;">关于ios - SKMaps bringToFrontAnnotation : method is working wrong,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/27558024/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/27558024/
</a>
</p>
页:
[1]