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

Method SetZoom

libs/ge0/geo_url_parser.cpp:342–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342void GeoURLInfo::SetZoom(double x)
343{
344 if (x < 1.0)
345 LOG(LWARNING, ("Invalid zoom:", x));
346 else if (x > kMaxZoom)
347 m_zoom = kMaxZoom;
348 else
349 m_zoom = x;
350}
351
352bool GeoURLInfo::SetLat(double x)
353{

Callers 3

MatchLatLonZoomFunction · 0.80
operator()Method · 0.80
ParseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected