From 4b3f13843c0320b52e33c08f194df2c069a6d604 Mon Sep 17 00:00:00 2001 From: hansemannn Date: Fri, 28 Feb 2020 12:03:10 +0100 Subject: [PATCH] chore: expose map type --- ios/Classes/TiMapViewProxy.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ios/Classes/TiMapViewProxy.m b/ios/Classes/TiMapViewProxy.m index cabce290..753a9603 100644 --- a/ios/Classes/TiMapViewProxy.m +++ b/ios/Classes/TiMapViewProxy.m @@ -728,6 +728,11 @@ - (void)setPolylines:(id)arg } } +- (NSNumber *)mapType +{ + return @(((TiMapView *)[self view]).map.mapType); +} + - (void)addImageOverlays:(id)arg { ENSURE_SINGLE_ARG(arg, NSArray);