diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-07-14 16:18:59 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-07-14 16:27:25 +0300 |
commit | 44406e91de97132e18494fb1d3353ce00726f192 (patch) | |
tree | 676f327f04eac880c93c480c4a91e5dcf3210d80 /platform/macos/src/MGLMapViewDelegate.h | |
parent | 9ef30c23527ef0e8dfe4a7b486624a284ccc016a (diff) | |
download | qtlocation-mapboxgl-44406e91de97132e18494fb1d3353ce00726f192.tar.gz |
[ios,macos] Partially revert 06af75
Use static_cast<float> to convert from CGfloat when creating
PropertyValue<float> and avoid breaking backwards-compatibility.
Diffstat (limited to 'platform/macos/src/MGLMapViewDelegate.h')
-rw-r--r-- | platform/macos/src/MGLMapViewDelegate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/macos/src/MGLMapViewDelegate.h b/platform/macos/src/MGLMapViewDelegate.h index 048cd0b62d..6ea69f845a 100644 --- a/platform/macos/src/MGLMapViewDelegate.h +++ b/platform/macos/src/MGLMapViewDelegate.h @@ -174,7 +174,7 @@ NS_ASSUME_NONNULL_BEGIN @param annotation The annotation being rendered. @return A line width for the polyline, measured in points. */ -- (float)mapView:(MGLMapView *)mapView lineWidthForPolylineAnnotation:(MGLPolyline *)annotation; +- (CGFloat)mapView:(MGLMapView *)mapView lineWidthForPolylineAnnotation:(MGLPolyline *)annotation; #pragma mark Selecting Annotations |