Commit graph

112 commits

Author SHA1 Message Date
pjsier
cda855f1b7 Add share style link, copy button
This adds a copy to clipboard button and input with the style parameter
pre-populated after exporting a style to an anonymous gist. Also
includes the URL as an input next to the button.
2017-10-15 20:04:43 -05:00
orangemug
aa92e9da02 Merge remote-tracking branch 'upstream/master' into feature/load-from-url 2017-10-12 15:15:20 +01:00
orangemug
2c3f47d3cb Added 'Load from URL' option in open modal. Fixes #120 2017-10-10 16:27:16 +01:00
Gregory Wolanski
8a6e24e5e7 Modal scrolling #156 2017-10-08 21:42:04 +02:00
Orange Mug
c950a33031 Merge pull request #124 from orangemug/fix/issue-110-update-mapbox-style-spec
Update style spec
2017-10-05 06:16:04 +01:00
Tim Schaub
b8205f4c38 Close the "open" dialog after choosing a new style 2017-06-02 15:11:29 -06:00
orangemug
c3174a0c72 Moved to using @mapbox/mapbox-gl-style-spec 2017-04-10 13:29:57 +01:00
orangemug
d94ee2ba98 Merge remote-tracking branch 'upstream/master' into fix/issue-110-update-mapbox-style-spec 2017-04-04 08:57:33 +01:00
orangemug
2400c8ed00 Clear error on modal toggle. 2017-04-02 16:02:57 +01:00
orangemug
396022e8ea Styling fixes for firefox. 2017-04-02 16:01:56 +01:00
orangemug
5433a4193b Move from mapbox-gl-style-spec -> mapbox-gl. 2017-03-22 10:36:20 +00:00
orangemug
decc390777 Fix to add error notice when uploading invalid JSON (issue #54) 2017-03-09 21:29:25 +00:00
Lukas Martinelli
75ca1fa930 Deal with no metadata in style 2017-01-16 20:07:21 +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
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
jirik
69a665373f Export to Gist anonymously, related to maputnik/editor#3 2017-01-12 18:27:44 +01:00
Lukas Martinelli
68685dcf42 Only set source layer if not undefined 2017-01-12 16:59:38 +01:00
Lukas Martinelli
cbe2a4c180 Fix GeoJSON and default source issue in Sources modal 2017-01-12 10:28:03 +01:00
Lukas Martinelli
6c56006fbf Show choose public sources first #64 2017-01-11 16:26:14 +01:00
Lukas Martinelli
196d9f0a10 Move add modal to layer list 2017-01-11 15:59:51 +01:00
Lukas Martinelli
fed1f09434 Remove last style configs in JS 2017-01-11 14:11:45 +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
40111e0d8e Fix minzoom and maxzoom in source modal 2017-01-10 15:35:13 +01:00
Lukas Martinelli
b470885263 Use first vector source for OL3 2017-01-10 14:05:25 +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
c363c88f23 Use Mapbox GL Inspect 2017-01-08 22:03:21 +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
1058dbfb5a Hide sources when adding background layer 2016-12-30 17:06:08 +01:00
Lukas Martinelli
a5307054b3 Fix setting style properties in settings modal 2016-12-29 17:32:23 +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
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
0dc335ea5f Deref style on open 2016-12-26 12:21:41 +01:00
Lukas Martinelli
f332d517f3 Add inspection map 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
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
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
7f40f3b8ee Download style when open from gallery 2016-12-22 16:35:31 +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
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
36c4032063 Remove Immutable JS 2016-12-20 16:08:49 +01:00
Lukas Martinelli
fde60ac3e0 Restructure and rename components 2016-12-20 11:44:22 +01:00