使用MapKit
SELECT SUM(t.price) AS subtotal,
SUM(t.price) * 3.0 AS fees,
SUM(t.price + fees) AS total
FROM CART t
我需要使用Skobbler地图实例做类似的事情。
答案 0 :(得分:0)
这是一个非常有效的解决方案:
CGPoint point = [self.skobblerMapView pointForCoordinate:yourCoordinate];
BOOL containsCoordinate = CGRectContainsPoint(self.skobblerMapView.bounds, point);