Commit Graph
100 Commits
Author SHA1 Message Date
Lukas Martinelli 51a2eabc91 Add ArrayInput 2016-12-29 22:37:54 +01:00
Lukas Martinelli 007bdad70a Also show MultiButton for 3 options 2016-12-29 22:12:36 +01:00
Lukas Martinelli 1f1a919c77 Only update style if it is valid 2016-12-29 22:00:49 +01:00
Lukas Martinelli 3be3a716d4 Only update if structure of JSON changes 2016-12-29 21:49:40 +01:00
Lukas Martinelli ae9afdd8d9 Replace gone style store test with sample 2016-12-29 17:40:12 +01:00
Lukas Martinelli a5307054b3 Fix setting style properties in settings modal 2016-12-29 17:32:23 +01:00
Lukas Martinelli d16c3f4356 Always show all features in inspect mode 2016-12-29 17:30:01 +01:00
Lukas Martinelli 853361ace7 Indicate if feature is clickable 2016-12-29 17:00:36 +01:00
Lukas Martinelli e41e1eb2f1 Inspection map is now always aware of current layer 2016-12-29 16:54:58 +01:00
Lukas Martinelli e36c233b49 Remove highlighted layer from metadata in style 2016-12-29 15:51:11 +01:00
Lukas Martinelli d1b8f8d63e Change map style to add layer 2016-12-29 15:35:07 +01:00
Lukas Martinelli 29cfb58a56 Update sources if they change 2016-12-29 15:22:47 +01:00
Lukas Martinelli bf5131cadd Restructure layer settings for add modal 2016-12-29 14:46:04 +01:00
Lukas Martinelli ccc39b87db Move storing access token into style metadata 2016-12-28 21:50:53 +01:00
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