Commit graph

470 commits

Author SHA1 Message Date
orangemug
396022e8ea Styling fixes for firefox. 2017-04-02 16:01:56 +01:00
orangemug
0d4449b9c2 Added css flexbox to modal to allow for a max-height. 2017-04-02 15:13:07 +01:00
Lukas Martinelli
32ac92f901 Merge pull request #105 from orangemug/fix/issue-89
Remove overflow hidden to allow modal to show in safari
2017-03-28 23:30:37 -04:00
Yuri Astrakhan
87acc3362d Increase popup Z-index
Per https://github.com/maputnik/editor/issues/118
2017-03-28 23:03:13 -04:00
Lukas Martinelli
732d231c78 Do not barf if glyphs url not set #113 2017-03-28 11:00:58 -04:00
orangemug
5433a4193b Move from mapbox-gl-style-spec -> mapbox-gl. 2017-03-22 10:36:20 +00:00
Helge Fahrnberger
d0c9db41ce Merge pull request #104 from orangemug/feature/issue-47
Added JSON linting (#47)
2017-03-15 15:22:34 +01:00
Helge Fahrnberger
f162ffd9be Merge pull request #107 from orangemug/feature/layer-comments
Added layer comments via 'metadata.maputnik:comment' (issue #28)
2017-03-15 15:19:45 +01:00
orangemug
decc390777 Fix to add error notice when uploading invalid JSON (issue #54) 2017-03-09 21:29:25 +00:00
orangemug
ad8fa7563a Added JSON linting (fixes #47) 2017-03-08 21:35:19 +00:00
Lukas Martinelli
68859d279d Merge pull request #101 from orangemug/fix/issue-44
Alpha value slider fix (#44)
2017-03-07 10:12:17 -05:00
orangemug
03af10f850 Fixed maputnik-color-swatch size. 2017-03-07 13:02:09 +00:00
orangemug
2f059874aa Fixed css lint errors. 2017-03-07 12:59:08 +00:00
orangemug
a53d7763ba Added layer comments via 'metadata.maputnik:comment' (issue #28) 2017-03-07 12:25:23 +00:00
orangemug
eb526a6186 Remove overflow hidden to allow modal to show in safari (issue #89) 2017-03-07 10:47:46 +00:00
orangemug
6095f871ed Added color swatch to color field. 2017-03-07 10:17:45 +00:00
orangemug
e3b4fe582b Fixed alpha value slider (fixes #44) 2017-03-07 09:59:11 +00:00
jirik
bbf26a3f38 Update fontstacks URL according to https://github.com/klokantech/tileserver-gl/pull/104#issuecomment-274444087 2017-02-02 13:19:52 +01:00
Lukas Martinelli
767d68d905 Replace 0px with 0 2017-01-26 21:12:05 +01:00
Alberto Valverde
32b18e9141
Configurable toolbar top offset.
For facilitate embeding in other apps.
2017-01-26 20:43:06 +01:00
Lukas Martinelli
5c286f8d96 Remove static fontstacks.json 2017-01-25 13:47:37 +01:00
Lukas Martinelli
404b53587f Special fontstacks.json handling for Tileserver GL 2017-01-25 13:46:46 +01:00
Lukas Martinelli
e5fbe3b74a Collapse layer groups by default #66 2017-01-25 13:34:10 +01:00
Lukas Martinelli
3f262885ca Highlight selected layer more #62 2017-01-25 13:23:54 +01:00
Lukas Martinelli
c837179f71 Clean up layer.scss 2017-01-25 13:23:29 +01:00
Lukas Martinelli
9a947658e2 Improve default property styling #92 2017-01-25 12:54:33 +01:00
Lukas Martinelli
2458d4b637 Show inspect tooltip only on click in map #90 2017-01-22 21:16:11 +01:00
Lukas Martinelli
e4850805fb Fix default tileset of OpenMapTiles #88 2017-01-18 13:06:24 +01:00
Lukas Martinelli
3a15a3bb06 Show type of feature in popup 2017-01-18 10:03:15 +01:00
Lukas Martinelli
75ca1fa930 Deal with no metadata in style 2017-01-16 20:07:21 +01:00
Lukas Martinelli
377840ca24 Fix lint issues in _modal.scss 2017-01-16 16:34:55 +01:00
Lukas Martinelli
11e9cef834 Improve styles and text 2017-01-16 15:43:52 +01:00
jirik
7e3aa09d3e Proview & Access Token logic when saving to Gist 2017-01-16 15:13:19 +01:00
jirik
e3b7e002b4 Hypertext links are white instead of blue 2017-01-16 15:13:11 +01:00
jirik
3b7fb7ae75 Fix checkbox not showing status 2017-01-16 15:13:02 +01:00
jirik
fab004cdfe StringInput fires change if state and props values do not match
Now it is also possible to call onChange listener if new value is empty string
2017-01-16 15:12:03 +01:00
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