Simplify highlight style (geom only)

This commit is contained in:
Tom Russell 2019-02-24 19:22:18 +00:00
parent 38599cae9f
commit 669f8ceadb
2 changed files with 2 additions and 5 deletions

View File

@ -35,7 +35,6 @@
</Style>
<Style name="highlight">
<Rule>
<Filter>[focus] = true</Filter>
<LineSymbolizer stroke="#00ffffaa" stroke-width="4.5" />
<LineSymbolizer stroke="#00ffffff" stroke-width="2.5" />
</Rule>

View File

@ -182,13 +182,11 @@ function render_tile(tileset, z, x, y, geometry_id, cb){
function get_highlight_table_def(geometry_id) {
return `(
SELECT
g.geometry_id = ${geometry_id} as focus,
g.geometry_geom
FROM
geometries as g,
buildings as b
geometries as g
WHERE
g.geometry_id = b.geometry_id
g.geometry_id = ${geometry_id}
) as highlight`
}