Simplify highlight style (geom only)
This commit is contained in:
parent
38599cae9f
commit
669f8ceadb
@ -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>
|
||||
|
@ -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`
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user