Home
last modified time | relevance | path

Searched refs:constrainedScale (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/util/
H A Dprojection.hpp49 const double constrainedScale = std::pow(2.0, constrainedZoom); in getMetersPerPixelAtLatitude() local
51 …trainedLatitude * util::DEG2RAD) * util::M2PI * util::EARTH_RADIUS_M / worldSize(constrainedScale); in getMetersPerPixelAtLatitude()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/map/
H A Dtransform_state.cpp401 double constrainedScale = newScale; in setScalePoint() local
403 constrain(constrainedScale, constrainedPoint.x, constrainedPoint.y); in setScalePoint()
405 scale = constrainedScale; in setScalePoint()