blob: 4cce39a65283560fbfc63401aa9e9a8e5add1b9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#pragma once
#include <mbgl/tile/geometry_tile_data.hpp>
#include <unordered_map>
#include <string>
#include <vector>
namespace mbgl {
class SymbolFeature;
namespace util {
unsigned int mergeFromRight(std::vector<SymbolFeature> &features,
std::unordered_map<std::string, unsigned int> &rightIndex,
std::unordered_map<std::string, unsigned int>::iterator left,
std::string &rightKey,
GeometryCollection &geom);
unsigned int mergeFromLeft(std::vector<SymbolFeature> &features,
std::unordered_map<std::string, unsigned int> &leftIndex,
std::string &leftKey,
std::unordered_map<std::string, unsigned int>::iterator right,
GeometryCollection &geom);
void mergeLines(std::vector<SymbolFeature> &features);
} // end namespace util
} // end namespace mbgl
|