creating a new area in editor? 0.5 opacity!
This commit is contained in:
parent
1a4d18ae37
commit
8d46bd2483
1 changed files with 4 additions and 1 deletions
|
@ -1043,7 +1043,10 @@ editor = {
|
|||
} else if (form.is('[data-new]')) {
|
||||
// create new geometry
|
||||
var mapitem_type = form.attr('data-new');
|
||||
var options = editor._get_mapitem_type_style(mapitem_type);
|
||||
options = editor._get_mapitem_type_style(mapitem_type);
|
||||
if (mapitem_type === 'area') {
|
||||
options.fillOpacity = 0.5;
|
||||
}
|
||||
form.addClass('creation-lock');
|
||||
var geomtype = form.attr('data-geomtype');
|
||||
if (geomtype === 'polygon') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue