Make layer attributes a map to sample values

This commit is contained in:
Eric Fischer
2017-07-17 11:58:37 -07:00
parent 7445feb845
commit b1771a3365
5 changed files with 13 additions and 13 deletions
+2 -1
View File
@@ -2,6 +2,7 @@
#define MBTILES_HPP
#include <math.h>
#include <map>
#include "mvt.hpp"
struct type_and_string {
@@ -19,7 +20,7 @@ struct type_and_string_stats {
struct layermap_entry {
size_t id;
std::set<type_and_string> file_keys; // XXX map to type_and_string_stats
std::map<type_and_string, type_and_string_stats> file_keys;
int minzoom;
int maxzoom;