[update] Cherry-pick from upstream

6d902d24: Added qml function to fit map to geo shape