summaryrefslogtreecommitdiff
path: root/src/mbgl/map/view.cpp
blob: 95c31f93e315fef2cf956166bad5c26ba6229961 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <mbgl/map/view.hpp>
#include <mbgl/map/map.hpp>

namespace mbgl {

void View::initialize(Map *map_) {
    assert(map_);
    map = map_;
}

void View::resize(uint16_t width, uint16_t height, float ratio, uint16_t fbWidth, uint16_t fbHeight) {
    assert(map);
    map->resize(width, height, ratio, fbWidth, fbHeight);
}

void View::notifyMapChange(MapChange, Duration) {
    // no-op
}


}