add Escalator and EscalatorSlope (with no support for rendermap and buildgraph so far)

This commit is contained in:
Laura Klünder 2016-12-18 01:15:25 +01:00
parent 5a0d628bf3
commit 03b07d8a76
6 changed files with 119 additions and 5 deletions

View file

@ -3,7 +3,6 @@ import time
from collections import OrderedDict
from django.conf import settings
from django.db.models import Field
from django.forms import CharField, ModelForm, ValidationError
from django.forms.models import ModelChoiceField
from django.forms.widgets import HiddenInput

View file

@ -282,7 +282,9 @@ editor = {
'levelconnector': '#FFFF00',
'shadow': '#000000',
'stair': '#FF0000',
'arealocation': '#0099FF'
'arealocation': '#0099FF',
'escalator': '#FF9900',
'escalatorslope': '#DD7700'
},
_line_draw_geometry_style: function(style) {
style.stroke = true;