Skip to content

Commit

Permalink
Bump to 3.0.0, fix include-error
Browse files Browse the repository at this point in the history
  • Loading branch information
hansemannn committed Oct 2, 2017
1 parent 2220444 commit bbd65d2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 16 deletions.
11 changes: 0 additions & 11 deletions ios/Classes/TiMapModule.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,6 @@

#import "TiModule.h"

#define MAKE_IOS7_SYSTEM_PROP(name, map) \
-(NSNumber *)name \
{ \
if (![TiUtils isIOS7OrGreater]) { \
const char *propName = #name; \
[TiMapModule logAddedIniOS7Warning:[NSString stringWithUTF8String:propName]]; \
return nil; \
} \
return [NSNumber numberWithInt:map]; \
}

@interface TiMapModule : TiModule {
UIColor *colorRed;
}
Expand Down
4 changes: 2 additions & 2 deletions ios/Classes/TiMapModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ - (TiMapCameraProxy *)createCamera:(id)args
MAKE_SYSTEM_PROP(ANNOTATION_DRAG_STATE_CANCEL, MKAnnotationViewDragStateCanceling);
MAKE_SYSTEM_PROP(ANNOTATION_DRAG_STATE_END, MKAnnotationViewDragStateEnding);

MAKE_IOS7_SYSTEM_PROP(OVERLAY_LEVEL_ABOVE_LABELS, MKOverlayLevelAboveLabels);
MAKE_IOS7_SYSTEM_PROP(OVERLAY_LEVEL_ABOVE_ROADS, MKOverlayLevelAboveRoads);
MAKE_SYSTEM_PROP(OVERLAY_LEVEL_ABOVE_LABELS, MKOverlayLevelAboveLabels);
MAKE_SYSTEM_PROP(OVERLAY_LEVEL_ABOVE_ROADS, MKOverlayLevelAboveRoads);

MAKE_SYSTEM_PROP(POLYLINE_PATTERN_DASHED, TiMapOverlyPatternTypeDashed);
MAKE_SYSTEM_PROP(POLYLINE_PATTERN_DOTTED, TiMapOverlyPatternTypeDotted);
Expand Down
2 changes: 2 additions & 0 deletions ios/Classes/TiMapRouteProxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
*/

#import "TiMKOverlayPathUniversal.h"
#import "TiProxy.h"
#import "TiUtils.h"
#import <MapKit/MapKit.h>

@interface TiMapRouteProxy : TiProxy {
Expand Down
6 changes: 3 additions & 3 deletions ios/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
# this is your module manifest and used by Titanium
# during compilation, packaging, distribution, etc.
#
version: 2.13.0
version: 3.0.0
apiversion: 2
architectures: armv7 arm64 i386 x86_64
description: External version of Map module
author: Jeff Haynie, Jon Alter, Pedro Enrique, Hans Knöchel, Vijay Singh
license: Apache Public License v2
copyright: Copyright (c) 2013-Present by Axway Appcelerator
copyright: Copyright (c) 2013-present by Axway Appcelerator

# these should not be edited
name: map
moduleid: ti.map
guid: fee93b77-8eb3-418c-8f04-013664c4af83
platform: iphone
minsdk: 5.5.1
minsdk: 6.2.2.GA

0 comments on commit bbd65d2

Please sign in to comment.