Lukas Martinelli
604be38b7c
Store highlighted layer in metadata
2016-12-28 21:50:53 +01:00
Lukas Martinelli
160bd9563b
Introduce MultiInputButton
2016-12-28 21:50:53 +01:00
Lukas Martinelli
488fdf2bd5
Rename icons and add layer to toolbar
2016-12-28 21:50:53 +01:00
Lukas Martinelli
a0e1e6152b
Merge pull request #36 from PetersonGIS/upgrade-mapboxgl
...
Upgraded reference to mapbox-gl to v0.29.0 to follow their latest webpack recommendations and support Windows dev. This is addressed in mapbox/mapbox-gl-js#3724
2016-12-28 21:46:11 +01:00
Lukas Martinelli
80678af691
Implement adding public and custom sources
2016-12-28 15:57:30 +01:00
Lukas Martinelli
ba271e1fc6
Allow deleting active source
2016-12-28 15:20:07 +01:00
Lukas Martinelli
c7ac90ba15
Fill extrusion support #31
2016-12-27 12:04:36 +01:00
Lukas Martinelli
0dc335ea5f
Deref style on open
2016-12-26 12:21:41 +01:00
Lukas Martinelli
acac314d27
Improve input styling (it is still hacky)
2016-12-26 12:03:12 +01:00
Lukas Martinelli
916c1dc9fc
No scrollbar style for JSON mode
2016-12-26 11:55:39 +01:00
Lukas Martinelli
c159f7041f
Switch from field components to input components
2016-12-26 11:51:26 +01:00
Lukas Martinelli
a3d586a75d
Give more space to layer editor
2016-12-26 11:22:41 +01:00
Lukas Martinelli
6b0b29d1da
Increase font size to 12px
2016-12-25 20:36:10 +01:00
Lukas Martinelli
8afda2fe28
Adapt Mapbox GL css icon colors
2016-12-25 20:26:59 +01:00
Lukas Martinelli
beb1a2a8d1
Introduce doc label for help
2016-12-25 19:00:21 +01:00
Lukas Martinelli
436e0c2095
Hack together add and delete button for stops
2016-12-25 18:30:23 +01:00
Lukas Martinelli
e1bc2a321a
Improve inspect popups
2016-12-25 17:46:18 +01:00
Lukas Martinelli
720c8f108b
Add codemirror as dependency
2016-12-25 13:19:33 +01:00
Lukas Martinelli
4db5c7cf68
Better inspection hover
2016-12-24 22:57:14 +01:00
Lukas Martinelli
8f561d8a27
Show layer table
2016-12-24 22:57:14 +01:00
Lukas Martinelli
0c483cffe3
Allow hash for location
2016-12-24 22:57:14 +01:00
Lukas Martinelli
def5ebb587
Show feature table on hover
2016-12-24 22:57:14 +01:00
Lukas Martinelli
6e9e66b147
Switch renderer with inspect mode
2016-12-24 22:57:14 +01:00
Lukas Martinelli
f332d517f3
Add inspection map
2016-12-24 22:57:14 +01:00
Lukas Martinelli
04eab70e27
Add missing revision store
2016-12-24 22:57:14 +01:00
Lukas Martinelli
cfbcdc7fa1
Basic redo/undo with keybindings #25
2016-12-24 22:57:14 +01:00
Lukas Martinelli
c95dd75e2a
Update README.md
2016-12-22 23:16:51 +01:00
Lukas Martinelli
4408f3ab3b
Update README.md
2016-12-22 23:09:42 +01:00
Lukas Martinelli
42fd5dcfa7
Remove logging and force OL3 to redraw
2016-12-22 21:06:32 +01:00
Lukas Martinelli
5d68867840
Fix displaying OL3
2016-12-22 20:26:47 +01:00
Lukas Martinelli
5246b611a1
Fall back to defaut style
2016-12-22 20:06:48 +01:00
Lukas Martinelli
cfb7f56574
Fix CSS loading for production
2016-12-22 18:19:34 +01:00
Lukas Martinelli
3ee1473a49
Load OL3 code only once we need it
2016-12-22 18:08:42 +01:00
Lukas Martinelli
607e920548
Render modals directly inplace
2016-12-22 16:54:22 +01:00
Lukas Martinelli
bc30327299
Select default value for renderer
2016-12-22 16:54:13 +01:00
Lukas Martinelli
b874d9864d
Fix modal rendering and simplify
2016-12-22 16:51:18 +01:00
Lukas Martinelli
e32f3bb06e
Rename Layout to AppLayout
2016-12-22 16:39:09 +01:00
Lukas Martinelli
f5b3a81ba5
Make logo a link
2016-12-22 16:37:53 +01:00
Lukas Martinelli
7f40f3b8ee
Download style when open from gallery
2016-12-22 16:35:31 +01:00
Lukas Martinelli
c674436267
Support id and type switching
2016-12-22 15:49:36 +01:00
Lukas Martinelli
3cc9f45085
Add awesome JSON editor!
2016-12-22 15:27:58 +01:00
Lukas Martinelli
fed8c6b0ea
Delay modal rendering until open
2016-12-22 14:21:53 +01:00
Lukas Martinelli
a5a7dab8e7
Add toolbar hover with pixel hacks
2016-12-22 14:18:07 +01:00
Lukas Martinelli
a30779193f
Remove padding in layer list
2016-12-22 14:08:23 +01:00
Lukas Martinelli
e307f58caf
Define source and layer settings in layout.json
2016-12-22 14:05:29 +01:00
Lukas Martinelli
9e5f0c1736
Add layer settings component
2016-12-22 13:40:23 +01:00
Lukas Martinelli
53f0a6adda
Add hover effect for collapse header
2016-12-22 12:06:04 +01:00
Lukas Martinelli
92996b1db5
Reintroduce collapse library
2016-12-22 11:52:21 +01:00
Lukas Martinelli
9f7aeca1c5
Add help link
2016-12-22 11:37:32 +01:00
Lukas Martinelli
fbdc87f2f1
Add open modal
2016-12-22 11:27:53 +01:00
Lukas Martinelli
57ab4be42c
Work on selecting source type before adding
2016-12-21 19:59:37 +01:00
Lukas Martinelli
6c69a91f2f
Add source component
2016-12-21 17:21:04 +01:00
Lukas Martinelli
044cdf5332
Support different source types
2016-12-21 17:13:21 +01:00
Lukas Martinelli
29bf0c2b61
Darker source editor
2016-12-21 16:50:34 +01:00
Lukas Martinelli
ee4bcc4c0b
Hack on source modal
2016-12-21 16:11:08 +01:00
Lukas Martinelli
b55099ea38
Make toolbar actions look nice
2016-12-21 15:08:04 +01:00
Lukas Martinelli
1fda430794
Remove everything left from Rebass
2016-12-21 14:46:51 +01:00
Lukas Martinelli
684e0d9dd0
Introduce custom input elems for modals
2016-12-21 14:36:09 +01:00
Lukas Martinelli
bdb0466436
Replace rebass with own Modal component
2016-12-21 13:55:11 +01:00
Lukas Martinelli
8fc8dfd4f6
Fix the scrolling CSS disaster
2016-12-21 12:06:33 +01:00
Lukas Martinelli
c776d19aed
Only collapse when clicking on header
2016-12-21 11:27:49 +01:00
Lukas Martinelli
18674f5edb
Collapsible editor groups
2016-12-21 11:24:32 +01:00
Lukas Martinelli
2a34424898
Use min and max from spec in number field
2016-12-21 10:31:38 +01:00
Lukas Martinelli
bc05c11cef
Improve checkbox styles
2016-12-21 10:28:16 +01:00
Lukas Martinelli
db095eea49
No different open style highlight
2016-12-20 20:50:19 +01:00
Lukas Martinelli
97b665485e
Fix bug with layer updates
2016-12-20 20:50:08 +01:00
Lukas Martinelli
cb590d7e26
Remove unused rebass imports
2016-12-20 20:38:34 +01:00
Lukas Martinelli
4981747d8b
Make editor darker
2016-12-20 20:36:02 +01:00
Lukas Martinelli
dc097e9f9a
Support copy, delete and toggle visibility
2016-12-20 20:21:35 +01:00
Lukas Martinelli
6d9484ec5e
Nicer action on item list
2016-12-20 19:20:56 +01:00
Lukas Martinelli
6a129fcf3f
Use layout component
2016-12-20 16:37:35 +01:00
Lukas Martinelli
36c4032063
Remove Immutable JS
2016-12-20 16:08:49 +01:00
Lukas Martinelli
ed87425f01
Switch away from Immutable JS for layer editor
2016-12-20 14:50:38 +01:00
Lukas Martinelli
28b61e7dcb
Remove tabs
2016-12-20 14:13:46 +01:00
Lukas Martinelli
9374ff29e7
Fix bug setting layout/paint props directly on layer
2016-12-20 14:13:37 +01:00
Lukas Martinelli
7ca48add75
Upgrade to unstable MapboxGL JS
2016-12-20 13:28:50 +01:00
Lukas Martinelli
fde60ac3e0
Restructure and rename components
2016-12-20 11:44:22 +01:00
Lukas Martinelli
461a001552
Layer watcher figures out possible fields
2016-12-19 22:13:22 +01:00
Lukas Martinelli
ec39f03449
Track known vector layer ids
2016-12-19 21:21:10 +01:00
Lukas Martinelli
965b2d6e05
Add layout JSON defined property groups
2016-12-19 20:15:30 +01:00
Lukas Martinelli
f9f7be1cad
Label no longer part of field itself
2016-12-19 16:30:48 +01:00
Lukas Martinelli
cfd048984b
Allow field style overriding
2016-12-19 16:21:22 +01:00
Lukas Martinelli
21bad041ab
Remove layer specific components
2016-12-19 15:56:19 +01:00
Lukas Martinelli
a52a548e51
Remove collapse and add tabs
2016-12-19 15:40:11 +01:00
Lukas Martinelli
4028c660fc
Allow setting many comma separated values
2016-12-19 15:09:03 +01:00
Lukas Martinelli
3c3f396937
Propagate filter changes
2016-12-19 14:56:10 +01:00
Lukas Martinelli
a981a39691
Split filter editor into more components
2016-12-19 14:52:28 +01:00
Lukas Martinelli
7da97ddd6e
Fix bug with empty map
2016-12-19 14:52:04 +01:00
Lukas Martinelli
b088af1586
Upgrade style spec to version used in renderer
2016-12-19 13:21:03 +01:00
Lukas Martinelli
220295442c
Upgrade to Mapbox GL 0.28
2016-12-19 12:51:23 +01:00
Lukas Martinelli
2082de5fca
Use the color lib for all color things
2016-12-19 11:46:48 +01:00
Lukas Martinelli
190750cc99
Remove unused colorize funcs
2016-12-19 11:34:01 +01:00
Lukas Martinelli
f6b8bbe5a6
Add missing checkbox style to input
2016-12-19 11:33:47 +01:00
Lukas Martinelli
e8c906e503
Fix build missing modules
2016-12-19 11:33:13 +01:00
Lukas Martinelli
95b2dad2a3
Tabs to spaces in input fields
2016-12-18 20:09:27 +01:00
Lukas Martinelli
8e92984d48
Add rudimentary boolean field
2016-12-18 20:08:20 +01:00
Lukas Martinelli
000a06f067
Hack on showing readonly filters
2016-12-18 19:43:01 +01:00
Lukas Martinelli
c4173aa458
Allow editing source of layer
2016-12-18 18:58:33 +01:00
Lukas Martinelli
4ebc143ed8
Icons for layer types
2016-12-18 17:28:59 +01:00
Lukas Martinelli
be664bbd24
Better open close in color picker
2016-12-17 22:28:24 +01:00