Commit graph

1084 commits

Author SHA1 Message Date
Lukas Martinelli
07523c00f0 Point styles to master not gh-pages 2017-01-16 11:08:18 +01:00
Lukas Martinelli
8f6006c19f Less opacity for default values #73 2017-01-15 17:10:38 +01:00
Lukas Martinelli
16bedcf5b1 Add minzoom and maxzoom block #77 2017-01-15 13:46:55 +01:00
Lukas Martinelli
05349d8ffe Convert filter value to number if possible #63 2017-01-15 13:39:40 +01:00
Lukas Martinelli
a1e1895651 Deal specially with has operator #84 2017-01-15 10:42:59 +01:00
Lukas Martinelli
a111599850 Save chang event on XYZ editor #85 2017-01-15 10:36:57 +01:00
Lukas Martinelli
decd1f3ea2 Add tilezen style 2017-01-14 14:45:04 +01:00
Lukas Martinelli
c632718324 Remove id from empty style to generate one 2017-01-14 14:41:13 +01:00
Lukas Martinelli
9509b59696 Add open Mapbox styles to gallery 2017-01-14 14:00:32 +01:00
Lukas Martinelli
82a11e4b98 Fix style download and strip metadata 2017-01-13 15:55:49 +01:00
Lukas Martinelli
fc8665ed93 Support fallback tokens and replace key 2017-01-13 15:33:22 +01:00
Lukas Martinelli
ca9424e23d Remove interactive from style for diffing to work 2017-01-13 15:31:08 +01:00
jirik
69a665373f Export to Gist anonymously, related to maputnik/editor#3 2017-01-12 18:27:44 +01:00
Helge Fahrnberger
5e3b2dd0df Merge branch 'master' into property-groups-reorder 2017-01-12 18:14:25 +01:00
Helge Fahrnberger
d045213fa3 Move line-dasharray to correct group 2017-01-12 18:13:15 +01:00
Lukas Martinelli
63bba67750 Merge pull request #71 from maputnik/property-groups-reorder
Reordered and renamed groups
2017-01-12 17:47:34 +01:00
Helge Fahrnberger
52e8fd2c29 Add missing properties 2017-01-12 17:44:56 +01:00
Lukas Martinelli
5479b240e1 Fix empty field causing exceptions 2017-01-12 17:28:45 +01:00
Lukas Martinelli
f209d8e9a5 Fix layout.json quote tokens 2017-01-12 17:01:30 +01:00
Lukas Martinelli
ac40d7727e Fix popup layer issue 2017-01-12 16:59:38 +01:00
Lukas Martinelli
7bd9d3f5da Remove GeoJSON example from tilesets 2017-01-12 16:59:38 +01:00
Lukas Martinelli
68685dcf42 Only set source layer if not undefined 2017-01-12 16:59:38 +01:00
jirik
6be6db8f5e Fix hidden map attributions (CSS issue) 2017-01-12 15:34:38 +01:00
Helge Fahrnberger
236dd79b85 Reordered and renamed groups
Purpose: Match structure and wording with Mapbox GL style spec.
2017-01-12 14:31:26 +01:00
Lukas Martinelli
6fa2542b56 Fix color of compound filter 2017-01-12 11:35:11 +01:00
Lukas Martinelli
7627b8fb45 Fix empty style url in config 2017-01-12 11:33:46 +01:00
Lukas Martinelli
5901427534 Move empty style to config dir 2017-01-12 11:32:20 +01:00
Lukas Martinelli
a30e57c4d8 Add empty style option 2017-01-12 11:31:16 +01:00
Lukas Martinelli
69f2e12ea0 Add stylelint and fix lint issues 2017-01-12 11:23:06 +01:00
Lukas Martinelli
cbe2a4c180 Fix GeoJSON and default source issue in Sources modal 2017-01-12 10:28:03 +01:00
Lukas Martinelli
2e0cc4511c Improve add layer button visually 2017-01-11 20:48:15 +01:00
Lukas Martinelli
bcab165f97 Select highlighted multibutton 2017-01-11 20:43:40 +01:00
Lukas Martinelli
2516fba105 Animate opacity on layer group collapse 2017-01-11 19:57:12 +01:00
Lukas Martinelli
9ca8760564 Absolute position to not take up space 2017-01-11 19:50:18 +01:00
Lukas Martinelli
df94d9c842 Prevent same prefix from being collapsed 2017-01-11 19:39:09 +01:00
Lukas Martinelli
abceb457c9 Collapsible layer groups #66 2017-01-11 18:18:59 +01:00
Lukas Martinelli
26a865bb50 Add missing mixins 2017-01-11 17:52:29 +01:00
Lukas Martinelli
d0f047d88a Group layers #66 2017-01-11 17:52:21 +01:00
Lukas Martinelli
76d2d06e77 Make section headers white #64 2017-01-11 16:32:31 +01:00
Lukas Martinelli
6c56006fbf Show choose public sources first #64 2017-01-11 16:26:14 +01:00
Lukas Martinelli
bbe45cf8ee Switch text in inspect button #64 2017-01-11 16:23:33 +01:00
Lukas Martinelli
82da251218 Add vendor prefixes 2017-01-11 16:20:10 +01:00
Lukas Martinelli
196d9f0a10 Move add modal to layer list 2017-01-11 15:59:51 +01:00
Lukas Martinelli
cb752c0343 Add layer button and increase contrast 2017-01-11 15:48:15 +01:00
Lukas Martinelli
3917a3e323 Fix multi button style 2017-01-11 14:13:23 +01:00
Lukas Martinelli
fed1f09434 Remove last style configs in JS 2017-01-11 14:11:45 +01:00
Lukas Martinelli
840778b64f Remove JS input config 2017-01-11 14:03:48 +01:00
Lukas Martinelli
0908856b4f Restructure CSS more 2017-01-11 13:34:38 +01:00
Lukas Martinelli
b51354ae1d All important stuff is in CSS now 2017-01-11 11:35:33 +01:00
Lukas Martinelli
9ef24428fe Style open modal 2017-01-11 09:35:48 +01:00
Lukas Martinelli
4a75b0381b Move style code to CSS 2017-01-10 21:28:30 +01:00
Lukas Martinelli
2426117233 Tweaked colors #64 2017-01-10 19:41:39 +01:00
Lukas Martinelli
cb4fdb0f9f Remove rasters in inspect style 2017-01-10 19:14:14 +01:00
Lukas Martinelli
df61ae8c7a Add filter button on the right bottom 2017-01-10 19:02:06 +01:00
Lukas Martinelli
2ff8ec07bb Update style thumbs 2017-01-10 18:42:22 +01:00
Lukas Martinelli
6021b51385 Extra padding prevents hidden layers #61 2017-01-10 15:53:22 +01:00
Lukas Martinelli
40111e0d8e Fix minzoom and maxzoom in source modal 2017-01-10 15:35:13 +01:00
Lukas Martinelli
43d9440e05 White background for OL3 2017-01-10 14:32:45 +01:00
Lukas Martinelli
3a3e90c3dc Support TileJSON sources for OL3 2017-01-10 14:24:35 +01:00
Lukas Martinelli
104d6311ec Add missing IconInput 2017-01-10 14:05:46 +01:00
Lukas Martinelli
f5256cf80a Add missing metadata lib 2017-01-10 14:05:36 +01:00
Lukas Martinelli
b470885263 Use first vector source for OL3 2017-01-10 14:05:25 +01:00
Lukas Martinelli
7ff0ac9bb5 Upgrade ol-mapbox-style to v0.14 2017-01-10 12:04:19 +01:00
Lukas Martinelli
0fb59ca544 Load icon and font metadata from endpoint 2017-01-10 11:13:53 +01:00
Lukas Martinelli
09b6b2dffe Add Roboto Medium for groups #51 2017-01-10 10:06:49 +01:00
Lukas Martinelli
a8a3b7a5ad Always have default value if value not set 2017-01-10 09:51:18 +01:00
Lukas Martinelli
766a3e387e Fix many React warnings 2017-01-10 09:38:27 +01:00
Lukas Martinelli
ec9fc8f6ad Allow passing elems to DocLabel 2017-01-09 23:06:55 +01:00
Lukas Martinelli
0f272e233b Rename to FeatureLayerPopup 2017-01-09 23:04:08 +01:00
Lukas Martinelli
f806e797fa Fix non existing value warning 2017-01-09 23:02:17 +01:00
Lukas Martinelli
cff0a15f7e Show hint when hovering over function icon 2017-01-09 22:54:30 +01:00
Lukas Martinelli
d3276829b2 Show hints in the source modal as well 2017-01-09 22:44:22 +01:00
Lukas Martinelli
a3caf8499c Add DocLabel to settings modal 2017-01-09 22:37:21 +01:00
Lukas Martinelli
d739ca812c No source blocks for background layer 2017-01-09 22:27:54 +01:00
Lukas Martinelli
cb89ca6ef7 Show text when nested filter 2017-01-09 22:20:28 +01:00
Lukas Martinelli
c3417241f1 Ensure zoom icon is nice 2017-01-09 22:09:15 +01:00
Lukas Martinelli
5d70de6202 Center checkbox 2017-01-09 21:43:14 +01:00
Lukas Martinelli
c09ffc9d41 Tweak margins to realign 2017-01-09 21:39:35 +01:00
Lukas Martinelli
e19a41d015 Change filter layout again 2017-01-09 21:30:49 +01:00
Lukas Martinelli
0a0400a297 Rearrange and simplify filter layout 2017-01-09 21:07:51 +01:00
Lukas Martinelli
153232c143 Add filter editor block 2017-01-09 20:07:48 +01:00
Lukas Martinelli
7e8813f417 Split filter editor into component per file 2017-01-09 18:56:04 +01:00
Lukas Martinelli
b72f86a78d Improve grouping 2017-01-09 18:43:04 +01:00
Lukas Martinelli
fed530f5f2 Filter out combining operator select 2017-01-09 17:47:35 +01:00
Lukas Martinelli
ba0a94f3ad Use DocLabel in input block 2017-01-09 16:45:59 +01:00
Lukas Martinelli
d9b458d7fd Add label to filter editor 2017-01-09 16:40:09 +01:00
Lukas Martinelli
ed9b806143 Add filter item 2017-01-09 16:33:26 +01:00
Lukas Martinelli
5bb68a38c2 Support delete filter 2017-01-09 16:24:42 +01:00
Lukas Martinelli
cfeaf2cdce Support turning property into zoom func #52 2017-01-09 16:08:22 +01:00
Lukas Martinelli
4f0c641eb0 Upgrade inspect 2017-01-09 00:08:50 +01:00
Lukas Martinelli
1538f2e174 Get highlight working 2017-01-08 23:19:21 +01:00
Lukas Martinelli
580068bf63 Show popup also on normal map 2017-01-08 22:44:25 +01:00
Lukas Martinelli
91604afccb Ensure style updates are applied after inspect 2017-01-08 22:16:45 +01:00
Lukas Martinelli
c363c88f23 Use Mapbox GL Inspect 2017-01-08 22:03:21 +01:00
Lukas Martinelli
e9daee4470 Add raster layout group 2017-01-08 19:58:19 +01:00
Lukas Martinelli
118f0360d0 Hide source layer for raster source 2017-01-08 19:47:43 +01:00
Lukas Martinelli
7c9dcb3083 Refactor sources modal 2017-01-08 19:45:44 +01:00
Lukas Martinelli
7c3906fa40 Add raster XYZ and TileJSON options #57 2017-01-08 18:50:32 +01:00
Lukas Martinelli
e7b11d8bc9 Ensure editor does not crash with raster layers 2017-01-08 17:15:35 +01:00
jirik
cb46ac5421 Format style on download 2017-01-06 15:48:57 +01:00
Lukas Martinelli
7c23fe3646 Open style from url #34 2017-01-05 19:34:53 +01:00
Lukas Martinelli
56aacb0149 Do not generate created timestamp 2017-01-05 19:34:53 +01:00
Lukas Martinelli
85cef2945d StringInput triggers change on out of focus #46 2017-01-04 12:06:55 +01:00
Lukas Martinelli
a1dfeca6e0 Keep existing metadata when toggling inspection #45 2017-01-04 12:00:00 +01:00
Lukas Martinelli
74b3ef9e88 Do not set modified date when saving 2017-01-04 12:00:00 +01:00
Lukas Martinelli
e92dfd8284 Fix local update to right this 2017-01-01 15:51:22 +01:00
Lukas Martinelli
fa38667125 Only init websocket if local API 2017-01-01 15:12:46 +01:00
Lukas Martinelli
ce39ae723c Add support local Maputnik 2017-01-01 14:49:32 +01:00
Lukas Martinelli
99acbd4d92 Ensure GeoJSON styling works 2016-12-31 15:15:28 +01:00
Lukas Martinelli
b0e9790382 Support updating of ArrayInput #39 2016-12-31 14:56:26 +01:00
Lukas Martinelli
e00cdde3af Reset JSONEditor after it loosed focus 2016-12-31 14:37:40 +01:00
Lukas Martinelli
c3a634b216 Show undo/redo message 2016-12-31 14:32:04 +01:00
Lukas Martinelli
4f26a521a0 Fix margins in source editing area 2016-12-31 14:02:14 +01:00
Lukas Martinelli
ca6b48843c Support adding, editing and removing stops 2016-12-31 13:42:25 +01:00
Lukas Martinelli
0eb00312f4 Restyle to use border box 2016-12-31 12:17:02 +01:00
Lukas Martinelli
e7709dae15 Notice for not supported nested filter 2016-12-31 11:08:14 +01:00
Lukas Martinelli
03796c963b Fix React type warnings 2016-12-31 10:39:30 +01:00
Lukas Martinelli
b50855a4a9 Restructure webpack and add favico 2016-12-31 10:36:02 +01:00
Lukas Martinelli
24a90b3c57 Set dark scrollbar globally 2016-12-30 21:02:39 +01:00
Lukas Martinelli
cf80e80025 Switch font input to AutocompleteInput 2016-12-30 20:53:12 +01:00
Lukas Martinelli
48f10bcb73 Convert Autocmplete from tabs to spaces 2016-12-30 20:46:27 +01:00
Lukas Martinelli
7bc2323401 Introduce AutocompelteInput for source editing 2016-12-30 20:38:50 +01:00
Lukas Martinelli
a71ac502d6 Remove style from PropertyGroup 2016-12-30 20:01:14 +01:00
Lukas Martinelli
f2dd785e7b Simplify font stacks and limit to one default value 2016-12-30 18:56:16 +01:00
Lukas Martinelli
0b99e571c4 Prototype FontInput field 2016-12-30 18:13:41 +01:00
Lukas Martinelli
cfc6085718 Add missing properties to symbol layer 2016-12-30 17:17:08 +01:00
Lukas Martinelli
384b2d4bea Show default value in color field 2016-12-30 17:16:58 +01:00
Lukas Martinelli
1058dbfb5a Hide sources when adding background layer 2016-12-30 17:06:08 +01:00
Lukas Martinelli
bda7ce7390 Move change property logic to lib 2016-12-30 16:56:20 +01:00
Lukas Martinelli
7b631b0510 Garbage collect properties when change type #42 2016-12-30 16:47:47 +01:00
Lukas Martinelli
1d7768e37c Make NumberInput more tolerant to errors 2016-12-30 16:18:57 +01:00
Lukas Martinelli
89d497c73f Error panel with current map style errors #40 2016-12-30 13:21:03 +01:00
Lukas Martinelli
886c87f231 Improve groups for symbol layer 2016-12-29 23:01:31 +01:00
Lukas Martinelli
d567a4f98b Add support for circle layer #30 2016-12-29 22:58:36 +01:00
Lukas Martinelli
5eb0e36faf Decrease doc label font size 2016-12-29 22:41:39 +01:00
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
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
PetersonGIS
58897f1856 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 11:10:27 -07: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
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
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
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
Lukas Martinelli
073dcfe387 Hack global css instead of copy chromepicker 2016-12-17 22:19:03 +01:00
Lukas Martinelli
e6ebebfacf Split out chrome picker to be able to customize 2016-12-17 22:08:24 +01:00
Lukas Martinelli
3d51095e6e Switch to chrome color picker 2016-12-17 21:52:27 +01:00
Lukas Martinelli
db8fc64eb9 Fix layer editor propagation problem 2016-12-17 21:32:44 +01:00
Lukas Martinelli
a05881a078 Draft of color picker 2016-12-17 21:25:00 +01:00
Lukas Martinelli
362f7ae9a1 Capitalize label names for fields 2016-12-17 20:36:43 +01:00
Lukas Martinelli
1d05ea000d No text selection for labels 2016-12-17 20:21:24 +01:00
Lukas Martinelli
4a8520c36d Scroll container component 2016-12-17 20:19:01 +01:00
Lukas Martinelli
b9d3886b50 Drag and drop layer order 2016-12-17 19:58:30 +01:00
Lukas Martinelli
7fae257130 Support displaying basic zoom fields 2016-12-17 17:40:44 +01:00
Lukas Martinelli
a91a1e99e0 Imrove layer list design 2016-12-17 16:43:25 +01:00
Lukas Martinelli
dc8618cf3c Show editor for selected layer 2016-12-17 16:09:37 +01:00
Lukas Martinelli
f2564e4ddb Show layer editor side by side 2016-12-17 15:44:42 +01:00
Lukas Martinelli
04ebd25773 Workspace drawer no longer needed 2016-12-17 14:53:16 +01:00
Lukas Martinelli
e84be3873a Show basic tilesets modal 2016-12-16 17:35:09 +01:00
Lukas Martinelli
f1a21eca0c Allow renderer switching via style metadata 2016-12-16 17:13:05 +01:00
Lukas Martinelli
b46598c33f Icons and fonts are advanced enough for settings 2016-12-16 16:57:21 +01:00
Lukas Martinelli
53f9f803ae Open settings modal via toolbar 2016-12-16 16:52:16 +01:00
Lukas Martinelli
2eaedd5813 Use center and zoom from style for OL3 2016-12-16 15:14:36 +01:00
Lukas Martinelli
43573fcd8c Switch map renderer based on state 2016-12-16 15:14:20 +01:00
Lukas Martinelli
71de62565b Add template title and retab webpack files 2016-12-16 15:04:17 +01:00
Lukas Martinelli
7c93ad0a24 Merge branch 'feature/multiple-renderers' 2016-12-16 15:01:10 +01:00
Lukas Martinelli
d599b7fd5b Always keep layers drawer open 2016-12-16 14:52:44 +01:00
Lukas Martinelli
e5c6af3fad Fall back to local style store
And convert tabs to spaces in process
2016-12-16 14:49:25 +01:00
Lukas Martinelli
02a7ccf831 Modify layout 2016-12-04 17:03:36 +01:00
Lukas Martinelli
b5cfecec81 Load and save style from style api 2016-12-03 23:28:43 +01:00
lukasmartinelli
d5b5261c1d Split OL3 and GL map into separate files 2016-11-25 13:31:41 +01:00
lukasmartinelli
6288fa51d4 Have both Mapbox GL and OL3 as map targets 2016-11-25 13:18:35 +01:00
lukasmartinelli
fd0b3b519f Serve font locally 2016-11-23 21:02:34 +01:00
lukasmartinelli
5f9406d562 Upgrade React to 15.4 2016-11-23 16:05:52 +01:00
lukasmartinelli
e524765c13 Add support to change source TileJSON url 2016-09-21 22:53:37 +02:00
lukasmartinelli
09112e71bc Allow style export 2016-09-21 08:41:02 +02:00
lukasmartinelli
442a7f612c Support resetting styles 2016-09-21 08:34:48 +02:00
lukasmartinelli
9d4053dd78 Correctly load previously saved style 2016-09-21 08:25:10 +02:00
lukasmartinelli
af34049069 Prevent full rebass import 2016-09-20 19:46:47 +02:00
lukasmartinelli
a7b32cffe3 Improve optional metadata handling 2016-09-20 16:49:04 +02:00
lukasmartinelli
adc00138a8 Rename to Maputnik 2016-09-20 13:51:54 +02:00
lukasmartinelli
4f73ab5b6a Add todo to remove layers redundancy 2016-09-19 21:41:24 +02:00
Martin Raifer
e56f973c86 About page with basic infos and links to github repo 2016-09-19 20:49:16 +02:00
lukasmartinelli
0cf37e6cd2 Rename to mapital 2016-09-19 15:06:34 +02:00
lukasmartinelli
9c6eb50343 Set prop value for empty string 2016-09-15 18:51:49 +02:00
lukasmartinelli
5f029f6870 Support symbol in prop types 2016-09-15 18:51:39 +02:00
lukasmartinelli
dec1233a6d Import rebass components explictly 2016-09-15 09:13:23 +02:00
lukasmartinelli
1ad7ece72c Correct style upload 2016-09-14 20:22:32 +02:00
lukasmartinelli
4d70351848 Support propagating from different layer types 2016-09-13 20:30:03 +02:00
lukasmartinelli
c630b300be Make input use less vertical space 2016-09-13 20:22:41 +02:00
lukasmartinelli
740f80117a Switch to own input classes 2016-09-13 19:46:44 +02:00
lukasmartinelli
ae0a12dcd8 Handle on change in field 2016-09-12 20:29:53 +02:00
lukasmartinelli
7c7c8b7111 Reactivate on change for background layer 2016-09-12 20:10:49 +02:00
lukasmartinelli
885e31111c Add string field 2016-09-12 19:54:02 +02:00
lukasmartinelli
4d1609a826 Add color field 2016-09-12 19:47:28 +02:00
lukasmartinelli
957d805ab8 Manage to display dynamic fields 2016-09-12 19:44:28 +02:00
lukasmartinelli
61d24fdb2b Example how to display fields from spec 2016-09-10 22:58:15 +02:00
lukasmartinelli
890169751b Add source layer support 2016-09-10 22:08:26 +02:00
lukasmartinelli
95ae8892f4 Use pure render mixin now that we use ImmutableJS 2016-09-10 21:35:21 +02:00
lukasmartinelli
575dacdb2c Reorganize JSON to immutable conversion 2016-09-10 21:29:18 +02:00
lukasmartinelli
ac3844f35c Revert "Work on immutable style"
This reverts commit d05d41c76a.
2016-09-10 20:31:39 +02:00
lukasmartinelli
d05d41c76a Work on immutable style 2016-09-10 20:31:36 +02:00
lukasmartinelli
1d7294dc92 Use OrderedMap for layers for perf 2016-09-10 17:31:45 +02:00
lukasmartinelli
8566e9f424 Delete works again 2016-09-10 16:56:52 +02:00
lukasmartinelli
0693dc3d42 Fix visibility toggle 2016-09-10 16:53:58 +02:00
lukasmartinelli
f444ebf65d Fetch basic default style on startup 2016-09-10 16:37:41 +02:00
lukasmartinelli
2cc4055416 Support setting access token 2016-09-10 16:26:39 +02:00
lukasmartinelli
8582496811 Remove layout CSS styling 2016-09-10 16:11:57 +02:00
lukasmartinelli
e4049fa5da Fix build process for mapbox gl 2016-09-10 16:05:04 +02:00
lukasmartinelli
0e65ac8937 Switch over to tabs 2016-09-10 15:15:17 +02:00
lukasmartinelli
e27b88c6bc Introduce style available prop 2016-09-10 14:56:59 +02:00
lukasmartinelli
d132c09afc Load icons explicit and implement save 2016-09-10 14:47:06 +02:00
lukasmartinelli
ab79c632b0 Settings supports immutable map 2016-09-10 14:17:49 +02:00
lukasmartinelli
d527f3cd1c Restructure layers and clean up deps 2016-09-10 14:10:25 +02:00
lukasmartinelli
e0a8b0a8e9 App style is now single source of truth 2016-09-10 13:42:23 +02:00
lukasmartinelli
c84318e6fe Try solve no map changes problem 2016-09-10 00:43:41 +02:00
lukasmartinelli
b6dff4aa58 Pass everything down as props 2016-09-09 23:25:06 +02:00
lukasmartinelli
416cf7e0af Try remove layer 2016-09-09 19:23:18 +02:00
lukasmartinelli
2978210a4d Support visibility toggle 2016-09-09 19:14:55 +02:00
lukasmartinelli
bbf75876f3 Colored layers 2016-09-09 18:53:57 +02:00
lukasmartinelli
f0e61fd0be Support style settings 2016-09-09 17:36:09 +02:00
lukasmartinelli
622286f294 Separate work space drawer 2016-09-09 17:09:13 +02:00
lukasmartinelli
3cc989e70f Allow download style 2016-09-09 16:58:48 +02:00
lukasmartinelli
52e4c92ccf Try support background opacity 2016-09-09 16:11:05 +02:00
lukasmartinelli
3cf8a6939d LayerEditor keeps layer as own state 2016-09-09 15:49:23 +02:00
lukasmartinelli
ca04f60393 Nicer text input 2016-09-09 14:09:02 +02:00
lukasmartinelli
4ad0d09cee Fix layer scrolling 2016-09-09 12:08:38 +02:00
lukasmartinelli
1ae5594d9a Improve layer colors 2016-09-09 11:29:18 +02:00
lukasmartinelli
73e36a22bf Display layer values 2016-09-09 00:55:50 +02:00
lukasmartinelli
7f9fb4579e Implement style loading and passing to map component 2016-09-09 00:10:54 +02:00
lukasmartinelli
392a7aa832 Directly wrap Mapbox GL 2016-09-08 21:42:18 +02:00
lukasmartinelli
d0776032b6 Enable style file upload 2016-09-08 20:35:21 +02:00
lukasmartinelli
74a92aa1f4 Hack map and toolbar view 2016-09-08 19:49:23 +02:00
Ali Al Dallal
d5c252ee54 Initial commit 2016-09-08 19:49:23 +02:00