MCPcopy Create free account
hub / github.com/comaps/comaps / SetModelViewCenter

Method SetModelViewCenter

libs/drape_frontend/drape_engine.cpp:219–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219void DrapeEngine::SetModelViewCenter(m2::PointD const & centerPt, int zoom, bool isAnim, bool trackVisibleViewport)
220{
221 PostUserEvent(
222 make_unique_dp<SetCenterEvent>(centerPt, zoom, isAnim, trackVisibleViewport, nullptr /* parallelAnimCreator */));
223}
224
225void DrapeEngine::SetModelViewRect(m2::RectD const & rect, bool applyRotation, int zoom, bool isAnim,
226 bool useVisibleViewport)

Callers 5

ScaleMethod · 0.80
ShowBookmarkMethod · 0.80
ShowFeatureMethod · 0.80
SetViewportCenterMethod · 0.80
SelectSearchResultMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected