highlight upper spaces with white border in editor
This commit is contained in:
parent
f70ed98397
commit
5ea4d7229a
1 changed files with 5 additions and 0 deletions
|
@ -293,6 +293,11 @@ editor = {
|
|||
_get_geometry_style: function (feature) {
|
||||
// style callback for GeoJSON loader
|
||||
var style = editor._get_mapitem_type_style(feature.properties.type);
|
||||
if (feature.properties.layer === 'upper') {
|
||||
style.stroke = true;
|
||||
style.weight = 1;
|
||||
style.color = '#ffffff';
|
||||
}
|
||||
if (feature.geometry.type === 'LineString') {
|
||||
style = editor._line_draw_geometry_style(style);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue