MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / set_speed

Method set_speed

src/engine/plugins/tile.cpp:322–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320 }
321
322 void set_speed(unsigned int value)
323 {
324 add_property(m_layer.key_speed, m_layer.uint_index(std::min(value, 127u)));
325 }
326
327 void set_is_small(bool value) { add_property(m_layer.key_is_small, m_layer.bool_index(value)); }
328

Callers 1

encodeVectorTileFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected