Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

ChengPeng haidaoxiaofei

🎯
Focusing
Block or report user

Report or block haidaoxiaofei

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@martinsik
martinsik / ViewController.mm
Last active Jul 9, 2018
Source codes for tutorial on Creating .mbtiles DB for iOS MapBox from hi-res map image http://martinsikora.com/creating-mbtiles-db-for-ios-mapbox-from-hi-res-map-image
View ViewController.mm
#import "ViewController.h"
#import "MapBox.h"
@implementation ViewController
- (void)viewDidLoad
{
[super viewDidLoad];
RMMBTilesSource *offlineSource = [[RMMBTilesSource alloc] initWithTileSetURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"chernarus" ofType:@"mbtiles"]]];
You can’t perform that action at this time.