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

Method set_name

src/engine/plugins/tile.cpp:342–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340 }
341
342 void set_name(const std::string_view value)
343 {
344 add_property(
345 m_layer.key_name,
346 m_layer.string_index(vtzero::encoded_property_value{value.data(), value.size()}));
347 }
348
349 void set_rate(double value) { add_property(m_layer.key_rate, m_layer.double_index(value)); }
350

Callers 1

encodeVectorTileFunction · 0.80

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected