Maximilian Krög
|
db49842f63
|
Display error message instead of 'style not valid yet...'
|
2019-10-03 17:06:39 +02:00 |
|
Maximilian Krög
|
8fe8302dc2
|
Remove duplicate type definition for style
|
2019-10-03 15:45:35 +02:00 |
|
Maximilian Krög
|
b1a9f765fc
|
Parse the style in the constructor.
This detects errors earlier and allows the caller to handle the thrown exception.
Remove assertion 65 as it should no longer be needed.
|
2019-10-03 14:36:48 +02:00 |
|
Maximilian Krög
|
d0cd1064ff
|
Also check predefined styles for validity.
|
2019-10-03 03:02:58 +02:00 |
|
Maximilian Krög
|
b4a996e760
|
Catch errors in style definition
Do not replace the layer if the style is invalid.
Thrown errors are caught and the layer will not be changed.
|
2019-10-03 01:59:42 +02:00 |
|
Maximilian Krög
|
dee114d4c4
|
Guard against JSON.parse errors.
Also show successful style parse status after a style error was corrected
but it is the same style as previously.
|
2019-10-03 01:59:42 +02:00 |
|
Maximilian Krög
|
db34a338d6
|
Reset status message when selecting from select element.
|
2019-10-03 01:59:21 +02:00 |
|
Maximilian Krög
|
0eac5007e8
|
Reserve the height for the style parse messages.
|
2019-10-03 01:59:00 +02:00 |
|
Maximilian Krög
|
c1921a6b16
|
Preselect the 'circles' style in the select input
The text in the editor element already is from the circles style..
|
2019-10-03 01:57:49 +02:00 |
|
Maximilian Krög
|
dc28590cff
|
Remove invalid option from style select
When this option was selected the text field contained 'undefined'
as it is not one of the predefined styles.
|
2019-10-03 01:48:45 +02:00 |
|
Maximilian Krög
|
200392785d
|
Squared tolerance does not change for each style.
|
2019-08-17 11:15:06 +02:00 |
|