orangemug
ceeb628784
Added ability to delete color value.
2019-06-19 20:44:27 +01:00
orangemug
2ec6a90dc3
Allow removal of properties.
2019-06-19 20:34:28 +01:00
pathmapper
a609dc4029
Set default renderer if undefined
2019-06-16 05:27:53 +02:00
orangemug
9e0410afe6
Fix to reset map state on renderer change.
2019-06-01 08:28:22 +01:00
orangemug
ef08a9347e
Disable debugToolbox by default.
2019-05-29 19:18:24 +01:00
orangemug
9b732540a6
Remove commented out code.
2019-05-29 19:16:17 +01:00
orangemug
24c52074b8
Fixed lint errors.
2019-05-29 18:59:26 +01:00
orangemug
cb6c6e0d9f
Remove projection code for now.
2019-05-29 18:54:32 +01:00
orangemug
efe42021f1
Some more openlayers improvments as well as initial work for projection support
2019-05-29 17:37:55 +01:00
orangemug
c1cab38c7a
Merge remote-tracking branch 'upstream/master' into feature/update-ol-plus-stability-fixes
2019-05-22 07:51:13 +01:00
orangemug
1cf36ddb08
Updated ol-mapbox-style/ol, added throttle to ol map update and fix to clear layers.
2019-05-22 07:32:06 +01:00
orangemug
1fec89b69e
Moved back to data-wd-key approach and fixed tests
2019-05-21 19:07:28 +01:00
orangemug
911549aca3
Moved data-wd-key onto element
2019-05-21 18:54:09 +01:00
orangemug
41329ec2f8
Fixes for firefox, this makes the range input only update on pointerup
2019-05-21 18:42:19 +01:00
orangemug
15cdfbc980
Changed default of step 0.01 -> 1
2019-05-20 11:28:27 +01:00
orangemug
5053058c32
Fixed default values for range slider.
2019-05-20 11:21:23 +01:00
orangemug
8a8cfad303
Merge remote-tracking branch 'upstream/master' into feature/add-range-slider
2019-05-20 10:20:55 +01:00
Orange Mug
cc3c17078d
Merge pull request #517 from orangemug/fix/editing-of-number-and-string-inputs
...
Fix for string/number inputs when inputting invalid of intermediate values
2019-05-20 10:15:25 +01:00
pathmapper
47965d5f57
Merge pull request #518 from orangemug/fix/color-accessibility-ua-switch
...
Toggle color accessibility based on user agent
2019-05-19 19:58:42 +02:00
Orange Mug
c947d9e3ed
Merge pull request #516 from orangemug/fix/prevent-default-browser-undo-redo
...
Prevent native browser undo/redo when handled by app
2019-05-19 18:52:14 +01:00
Orange Mug
8318180e96
Merge pull request #519 from orangemug/feature/debug-modal
...
Added semi-hidden debug modal
2019-05-19 18:51:43 +01:00
orangemug
87daf6fb76
Fixes because I was incorrectly assuming mgljs only
2019-05-19 10:09:44 +01:00
pathmapper
5d254ac2ff
Merge pull request #520 from orangemug/fix/color-filters-with-ol
...
Layout issues in accessibility color filters with the openlayers renderer
2019-05-19 10:04:16 +02:00
orangemug
482f322d9f
Fixed layout issues in accessibilty color filters with the openlayers renderer
...
Also updated ol & ol-mapbox-style
2019-05-19 06:25:28 +01:00
orangemug
b1d097a40f
Merge remote-tracking branch 'upstream/master' into feature/add-range-slider
2019-05-19 06:04:21 +01:00
orangemug
2776ac3ce0
Added back in onOpenToggle
2019-05-18 19:06:54 +01:00
orangemug
eb2fc4c715
Fixed prop-type name.
2019-05-18 19:02:51 +01:00
orangemug
d2ffc3a0b1
Added semi-hidden debug modal and removed all this url param awkwardness
2019-05-18 18:54:10 +01:00
orangemug
40a9978f31
Removed console.log
2019-05-18 18:23:02 +01:00
orangemug
22688933b3
Toggle color accessibility based on user agent
...
It's only supported in chrome and firefox and we can't feature detect this.
2019-05-18 18:19:23 +01:00
orangemug
7cf01f0c12
Merge remote-tracking branch 'upstream/master' into feature/issue-433
2019-05-18 17:33:31 +01:00
orangemug
1e87765f95
Tidy and added fallback (exception) color.
2019-05-18 17:29:59 +01:00
orangemug
cc8fe4e02e
Fix for buggy string/number inputs when inputting invalid of intermediate values
2019-05-18 15:56:14 +01:00
orangemug
979fc98e70
Prevent native browser undo/redo when handled by app
2019-05-18 15:47:51 +01:00
Jesse Crocker
afbaaa66bc
Add support for using a port other than 8000
2019-04-16 08:23:21 -06:00
pathmapper
de8c687dfb
Merge pull request #483 from sk1p/popup-cleanup
...
Various cleanups regarding popups and inspect mode
2019-04-16 07:29:19 +02:00
pathmapper
1bb079f078
Merge pull request #501 from pathmapper/issue_484
...
Fix JSON-editor
2019-04-16 07:05:43 +02:00
pathmapper
fb7b30c81d
Add backwards compability for tilehosting URLs
2019-04-06 12:00:48 +02:00
pathmapper
cb3f93c67d
Change Maptiler URLs
2019-04-03 09:51:43 +02:00
pathmapper
1fbfa8428b
Remove unused argument
2019-03-07 13:47:53 +01:00
pathmapper
b13b89c7ce
Fix JSON-editor
2019-03-07 13:06:02 +01:00
pathmapper
3fa31e2a2e
Merge pull request #485 from sk1p/icon-input-value-type
...
IconInput value type should be string, not array
2019-03-06 07:22:23 +01:00
Alexander Clausen
aa92091d2d
IconInput value type should be string, not array
2019-01-06 18:07:38 +01:00
Alexander Clausen
14e0385575
Reflect current view in dropdown
...
Useful if the view is toggled between inspect and map via keyboard
shortcut.
2019-01-06 06:20:03 +01:00
Alexander Clausen
6cf861d44e
Keep inspect mode consistent across renderer changes
...
If you were in inspect mode, switched to open layers, and back to
MapboxGlMap, the state in MapboxGlMap and MapboxInspect diverged,
meaning MapboxGlMap thought it was in inspect mode, while MapboxInspect
had inspector mode disabled.
2019-01-06 06:02:10 +01:00
Alexander Clausen
1375240bfa
For better debuggability, actually keep one popup node around
2019-01-06 06:01:04 +01:00
Alexander Clausen
8f391d7d52
Cleanup popup nodes
...
Before, the component instances used for rendering popup content were
kept around, slowly leaking memory. This could be observed using react
developer tools.
2019-01-06 05:49:03 +01:00
Alexander Clausen
84654e81af
MapboxGlMap: remove unused state variables
2019-01-06 05:39:19 +01:00
Alexander Clausen
7ff0524bb7
Allow inspect mode to count properly
...
Example: https://maputnik.github.io/editor/#12.86/54.38618/9.76697
2019-01-06 05:35:43 +01:00
Alexander Clausen
06c3c92fd6
Ensure key uniqueness in FeaturePropertyPopup
2019-01-06 05:35:11 +01:00
Alexander Clausen
4c2941e9b6
Use StringInput for 'formatted' field type
2019-01-05 22:38:58 +01:00
Orange Mug
98ded98583
Merge pull request #476 from pathmapper/fix_issue_404
...
Use access token for fetchSources
2019-01-04 14:34:26 +00:00
Orange Mug
04531b4305
Revert "Use replaceAccessTokens in onStyleChanged"
2019-01-04 14:32:41 +00:00
Orange Mug
6fa88e6869
Merge pull request #468 from meetar/shouldComponentUpdate-patch
...
shouldComponentUpdate hack
2019-01-04 14:31:14 +00:00
pathmapper
54b4fc473c
Use access token for fetchSources
2018-11-27 13:51:26 +01:00
Peter Richardson
cf45c04069
add shouldComponentUpdate
...
checks for differences in props and state - addresses https://github.com/maputnik/editor/issues/467
2018-11-12 20:47:24 -08:00
pathmapper
3acbc3291c
Remove duplicated line
2018-11-05 21:08:34 +01:00
pathmapper
24aa2fd5fa
Use replaceAccessToken onStyleChanged
2018-11-05 08:17:21 +01:00
orangemug
b712e7f184
Merge remote-tracking branch 'upstream/master' into feature/layer-list-ui-handle
...
Conflicts:
src/styles/_layer.scss
2018-11-02 17:57:42 +00:00
pathmapper
a74eb2989c
Add helper class and style the helper
2018-11-02 14:25:31 +01:00
orangemug
3a0fc6eeac
Fixed typo
2018-11-02 08:54:20 +00:00
orangemug
e9b5bfb572
Remove old code.
2018-11-02 08:34:56 +00:00
orangemug
b456b59c44
Fix to allow high precision on text input and integer on range.
2018-11-02 08:28:51 +00:00
pathmapper
59ad91fdf8
Add 'show-overdraw-inspector' query parameter
2018-11-02 09:07:01 +01:00
orangemug
e18d304313
Changed min/max zoom range step from 0.1 -> 1
2018-11-01 18:28:58 +00:00
orangemug
fe0df2a4ef
Make range step configurable
2018-11-01 08:28:49 +00:00
orangemug
deec7894dd
Make the whole layer label draggable
2018-11-01 08:12:40 +00:00
pathmapper
419e62f69b
Add z-index to autocomplete
2018-10-31 18:53:15 +01:00
Orange Mug
c51c40a20e
Merge pull request #448 from orangemug/fix/shortcut-fixes
...
Shortcut fixes
2018-10-31 08:02:13 +00:00
orangemug
a51fdb8435
Merge remote-tracking branch 'upstream/master' into feature/add-range-slider
2018-10-30 20:35:55 +00:00
orangemug
cdd5d27908
Added range slider to <NumberInput />
2018-10-30 20:35:22 +00:00
orangemug
f2f0270936
Use KeyboardEvent.key rather than keyCode in attempt to support more keyboard layouts.
2018-10-30 20:12:48 +00:00
orangemug
1f81449e3c
Added a visible drag handle.
2018-10-30 19:32:20 +00:00
pathmapper
2d1675c181
Fixes for code review comments
2018-10-29 17:35:12 +01:00
orangemug
bce8e8b807
Shortcut fixes
...
- Allow shortcuts to trigger from the shortcut modal
- Fix inspect/map toggle shortcut
2018-10-29 13:07:49 +00:00
orangemug
7121a680b4
Add missing prop type
2018-10-27 14:08:23 +01:00
orangemug
cf391031f0
Added color swatch to <FeatureLayerPopup/>
2018-10-27 14:04:13 +01:00
pathmapper
9cac5305cd
Warning when style parameter is used
2018-10-25 19:37:39 +02:00
pathmapper
f17b02b1fe
Slugify result in lower case
2018-10-23 13:31:38 +02:00
pathmapper
3c72d07a88
Export stylename if available
2018-10-23 13:04:23 +02:00
orangemug
218ce148d5
Delay modal close until blur events have triggered.
2018-10-19 08:39:07 +01:00
Orange Mug
906d7ac3d5
Merge pull request #411 from orangemug/fix/autocomplete-only-autocomplete-strings
...
Stop autocomplete crashing the editor
2018-10-12 19:24:35 +01:00
orangemug
588b18d10e
Only render strings in the autocomplete menu.
...
Expression objects were making there way into this menu which was crashing the editor.
2018-10-11 21:39:52 +01:00
orangemug
889005de6c
Set default value of autocomplete shouldItemRender value param as sometimes it's undefined
2018-10-09 21:11:47 +01:00
orangemug
825b9044b9
Tidy naming.
2018-10-09 20:48:10 +01:00
orangemug
012e4b670e
Updated mapbox-gl and react-sortable-hoc usage
2018-10-08 09:32:21 +01:00
orangemug
d17d6b43c0
Fixed merge issue.
2018-10-06 21:57:24 +01:00
orangemug
1bf10cd6d6
Merge remote-tracking branch 'upstream/master' into maintenance/update-deps-2018-10-06
...
Conflicts:
src/components/App.jsx
src/components/Toolbar.jsx
2018-10-06 21:39:26 +01:00
orangemug
802a7eb1be
Updated babel/webpack
2018-10-06 21:05:33 +01:00
Orange Mug
a666f86be0
Merge pull request #397 from orangemug/feature/ol-experimental-support
...
Added back in experimental OpenLayers support
2018-10-06 16:59:13 +01:00
Orange Mug
44fad76d45
Merge pull request #392 from orangemug/feature/color-accessibility-ui
...
Color accessibility UI
2018-10-06 16:58:32 +01:00
orangemug
cf3650c8cd
Updated react-icons
2018-10-06 16:38:08 +01:00
orangemug
4134919dde
Added missing key attribute to <option/>
2018-10-06 14:44:12 +01:00
orangemug
6b890d162a
Merge remote-tracking branch 'upstream/master' into feature/ol-experimental-support
2018-10-06 14:06:10 +01:00
orangemug
a356bfd601
Switch from react-aria-menubutton to <select/>
2018-10-06 13:54:02 +01:00
Orange Mug
c8a004422f
Merge pull request #406 from emuanalytics/bug/#380
...
Fix for Issue #380
2018-10-06 13:18:31 +01:00
pathmapper
6e03f1f077
get name from package.json
2018-10-04 16:42:39 +02:00
Robin Summerhill
4c13350c14
Issue #380 - fix for data functions
2018-10-03 20:11:53 +01:00
Orange Mug
e6e2be61f0
Merge pull request #398 from orangemug/fix/load-url-error
...
Show error if style fails to load and disabled button if input is empty
2018-09-26 18:35:51 +01:00
Gregory Wolanski
060f7aa42c
Merge pull request #400 from orangemug/feature/make-layer-visibility-always-shown
...
Make layer visibility icon shown when hidden
2018-09-24 22:19:07 +02:00