Require that per-feature maxzoom and minzoom be small integers

Also fixes a place in the Makefile that accidentally still used
CFLAGS instead of CXXFLAGS
This commit is contained in:
Eric Fischer
2018-07-12 11:24:30 -07:00
parent d64ac19f11
commit d1a0e495ce
7 changed files with 156 additions and 15 deletions
+20
View File
@@ -52,6 +52,26 @@
]
]
}
},
{
"type": "Feature",
"tippecanoe": { "minzoom": 1e1 },
"properties": { "zoom": "nothing, since 10 > 5"},
"geometry": {
"type": "LineString",
"coordinates": [ [ 0, 0 ], [ 1, 1 ] ]
}
},
{
"type": "Feature",
"tippecanoe": { "maxzoom": 1e1},
"properties": { "zoom": "0-5, since 10 > 5"},
"geometry": {
"type": "LineString",
"coordinates": [ [ 0, 0 ], [ 1, 1 ] ]
}
}
]}