TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Jul 2016 |
Maintained by Robert Miller.
Depends on: | |
VBFPopFlatButton | >= 0 |
GoogleMaps | >= 0 |
AFNetworking | >= 0 |
To run the example project, clone the repo, and run pod install
from the Example directory first.
To use, declare a Google Map using either an IBOutlet, or frames @property(nonatomic,retain) GMSMapView *mapView; or @property(nonatomic,retain) IBOutlet GMSMapView *mapView; then connect the Outlet in your Storyboard or XIB and declare the tile manager @property(nonatomic,retain) WDTTileManager *tileManager;
If not using an outlet, instantiate your map _mapView = [[GMSMapView alloc] initWithFrame:frame];
Create the tile manager _tileManager = [[WDTTileManager alloc] initWithMap:_mapView appKey:kWDTAppKey appID:kWDTAppID delegate:self];
To Customize the view and animation Speed [_tileManager setTopBarBackgroundColor:[UIColor darkGrayColor]]; [_tileManager setBottomBarBackgroundColor:[UIColor darkGrayColor]]; [_tileManager setTintColor:[UIColor grayColor]]; [_tileManager setAnimationTime:0.3];
All of the necessary frameworks are included in the Podspec, but you will need to get an App Key and App Id from WDT, and you’ll need to setup your GoogleMaps key to work with your Bundle Identifier. To get your Bundle Identifier, I’ve included an NSLog that outputs in the example, that you can copy/paste, or just go to your General Project Settings and copy/paste the reverse com Bundle Identifier
WDTTileManager is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "WDTTileManager"
rjmiller2543, [email protected]
WDTTileManager is available under the MIT license. See the LICENSE file for more info.