[core] allow changing the orientation
You can now change the orientation of north to be to the right, bottom, left in addition to the default of top
This commit is contained in:
@@ -343,6 +343,18 @@ double Map::getPitch() const {
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - North Orientation
|
||||
|
||||
void Map::setNorthOrientation(NorthOrientation orientation) {
|
||||
transform->setNorthOrientation(orientation);
|
||||
update(Update::Repaint);
|
||||
}
|
||||
|
||||
NorthOrientation Map::getNorthOrientation() const {
|
||||
return transform->getNorthOrientation();
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - Projection
|
||||
|
||||
MetersBounds Map::getWorldBoundsMeters() const {
|
||||
|
||||
Reference in New Issue
Block a user