Simple map

Show map in your app using Vietbando iOS SDK.

#import "ViewController.h"
@import Vietbando;

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    VBDMapView *mapView = [[VBDMapView alloc] initWithFrame:self.view.bounds];

    mapView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;

    // set the map’s center coordinates and zoom level
    [mapView setCenterCoordinate:CLLocationCoordinate2DMake(10.7763973, 106.701278)
                       zoomLevel:9
                        animated:NO];

    [self.view addSubview:mapView];
}

@end