summaryrefslogtreecommitdiff
path: root/src/mbgl/map/view.cpp
blob: 21ba4daf36eb0b77690de8617b84fee8322d6ab3 (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, std::chrono::steady_clock::duration) {
    // no-op
}


}