Commit graph

1114 commits

Author SHA1 Message Date
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