Commit Graph
16 Commits
Author SHA1 Message Date
pjsier e936dd16bf Fix style linting error 2018-04-16 07:44:00 -05:00
pjsier 3d4579288c Handle data functions without zoom 2018-04-16 06:59:01 -05:00
pjsier d32b15d425 Assigning default function type from spec 2017-10-16 14:19:19 -05:00
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
pjsier 2e671250b9 Remove tilezen tileset and style 2017-10-12 15:13:57 -05:00
pjsier c881534554 Fix insecure asset loading 2017-10-12 14:33:24 -05:00
pjsier fa0067ce7b Update mapbox deps, clarify data prop scope 2017-10-11 08:01:55 -05:00
pjsier b4292028c2 Fix default field bug 2017-10-11 05:58:32 -05:00
pjsier 4af7a71220 Rename ZoomSpecField to FunctionSpecField 2017-10-10 14:23:20 -05:00
pjsier 148f64c261 Restrict data function types, reorder buttons
Checking the Mapbox style spec properties to see whether or not
exponential should be allowed as the property type, defaulting to
categorical which appears to work for either type. Also re-orders zoom
and data function buttons, aligning zoom right if data not supplied.
2017-10-10 10:30:06 -05:00
pjsier 1d29f67065 Check for property-function support on data styles 2017-10-05 06:08:55 -05:00
pjsier 2ffb3e73e1 Re-add default field after style update 2017-10-05 05:50:47 -05:00
pjsier bba7aa3177 Merge branch 'master' into feature/data-driven-styles 2017-10-05 05:42:17 -05:00
pjsier 9e52b0b7dc Remove default from data properties
It looks like default is not supported in this version of the style
spec, so pending the PR to update it I'm removing it as an input.
2017-10-01 21:07:55 -05:00
pjsier d731fb2cae Fix scss linter errors 2017-10-01 19:17:43 -05:00
pjsier e057fcaea1 Add data-driven styling to editor
Builds off of the ZoomSpecField component with separate options for
handling data-driven properties. Reuses most of the zoom field
functionality with tweaks that I tried to keep as small as possible, and
the layout is based off of comments on the existing issue.
2017-10-01 18:20:57 -05:00