Commit Graph

205 Commits

Author SHA1 Message Date
Quincy Morgan
2d974caed1 Fix an issue where preset buttons would always be disabled if Other Features were hidden (close #5934) 2019-02-25 10:27:06 -05:00
Quincy Morgan
82f6bd73ae Account for all tags added upon choosing a preset, not just those in the preset's tags property 2019-02-12 15:16:02 -05:00
Quincy Morgan
2efe2adec9 Restore previous behavior of features hidden and autoHidden but accounting for 0 count features 2019-02-12 15:05:02 -05:00
Quincy Morgan
9007ccb8fd Disable preset buttons for hidden layers 2019-02-12 14:43:04 -05:00
Quincy Morgan
19e262643d Fix issue where "other" ways were not sorted into the "other" category for hiding purposes 2019-02-11 13:38:37 -05:00
Quincy Morgan
e1da28bcd6 Hide lines that are members of boundary relations when boundaries are hidden (close #5601) 2019-02-11 13:22:20 -05:00
Bryan Housel
ba44c80076 Force visible any entities related to a selected error
(closes #5880)
2019-02-10 23:29:49 -05:00
Minh Nguyễn
9e3d49efb7 Replace wkid/w/s/n/e in WMS URL templates 2019-01-19 15:42:22 -08:00
Bryan Housel
2df39c1dc7 Escape all .s in imagery identifiers, not just the first one
(closes #5737)
2019-01-19 10:53:09 -05:00
Bryan Housel
a9ac1bda97 Fix issues causing mode/undo/save buttons to be missing disabled style 2019-01-17 00:06:57 -05:00
Bryan Housel
3fe6c0dbe7 Support more eased transitions, cleanup code
(re: #3967, #5169, #5407)
2019-01-16 13:42:32 -05:00
Bryan Housel
91bfac5861 Add map.centerZoomEase and simplify internal center/zoom code
(closes #3967)
2019-01-16 01:31:26 -05:00
Bryan Housel
68be75af09 Assumption about mozInputSource = 1 was incorrect
Removing this conditional allows 2 finger panning on Firefox
2019-01-15 14:46:23 -05:00
Bryan Housel
9c190e83e9 Add quickLinks to preset editor, zoom to selected feature 2019-01-09 21:56:08 -05:00
Bryan Housel
cd9203975d Use touch targets for notes, fix a few bugs with note dragging
(closes #5213)
2019-01-04 15:48:39 -05:00
Bryan Housel
2deadd5d6c Fix merge issues 2018-12-19 17:12:06 -05:00
Thomas Hervey
31f35b0389 added basics to sidebar 2018-12-19 13:35:26 -05:00
Bryan Housel
d28b269b4c Speed up the scrolling on Firefox Linux too
(re: #5512)

This just changes
`detected.os === 'win'`  to  `detected.os !== 'mac'`
2018-12-12 15:45:55 -05:00
Bryan Housel
13b1a9a629 If imagery becomes invalid, remove it from imagery_used
(closes #4827)
2018-12-11 17:49:15 -05:00
Bryan Housel
577e0c6503 Don't add "None" to imagery_used tag when other imagery was used
(closes #5565)
2018-12-11 16:37:52 -05:00
Bryan Housel
4f8f45ec52 Fix issues with slow scrolling and improper panning on windows
(closes #5512)
2018-11-30 22:57:30 -05:00
Quincy Morgan
d6ea64241b Trackpad scroll-to-zoom while holding Shift or Option/Alt 2018-11-21 20:55:30 -05:00
Bryan Housel
9627e1e261 Test in all browsers, improve calcs, cleanup code 2018-11-20 11:48:27 -05:00
Bryan Housel
45a3e58c37 Add support for 2-finger pan and zoom gestures
Also adjust the zooming delta function on Firefox
(which uses wheel events in line units instead of pixel units)
2018-11-19 22:40:23 -05:00
Bryan Housel
b7e218a6cb Remap Safari gesture events to wheel events - #5492
(still needs some more testing)
2018-11-17 02:31:15 -05:00
Bryan Housel
3bc841e95b Adjust layer ordering to draw touch targets above data layers 2018-11-09 21:48:45 -05:00
Bryan Housel
46326252bc Rewrite source.polygon into array of outers without holes
(closes #5264, closes #5250, closes #5272)
2018-11-08 13:17:13 -05:00
Bryan Housel
c2971f667d Remove setCenter() from map.dimensions()
This was triggering a weird redraw which made the map slow and look wrong
The map will redraw again in a few milleseconds anyway.

This means that the the map will not stay on the center, but rather the
top-left corner, which kind of feels better anyway, as it doesn't move things
around as much.
2018-11-02 10:52:16 -04:00
Bryan Housel
8c8054b785 Better check for file extension, default to .gpx if gpx= in url
(closes #5253)
2018-08-29 00:43:42 -04:00
Bryan Housel
c28c3ba57b Test vector tile templates against OSM's imagery blacklist 2018-08-25 13:41:43 -04:00
Bryan Housel
cc938698e8 Add ability to select custom data 2018-08-25 11:14:04 -04:00
Bryan Housel
9009d55fd1 Add a vector tile service 2018-08-20 21:54:00 -04:00
Bryan Housel
9802b2f831 Restore 'custom' and 'none' options to background imagery list
(closes #5226)
2018-08-18 10:57:26 -04:00
Bryan Housel
4b446e9e78 WIP merge 'gpx' and 'mvt' layers into single 'data' layer 2018-08-17 13:03:07 -04:00
Bryan Housel
8b3637e55d Speedup imagery index with which-polygon
(closes #5226)
2018-08-16 16:26:01 -04:00
john gravois
bbe86510a3 remove ?blankTile=false and space from tilemap url to fix 404 2018-08-13 09:25:07 -07:00
Bryan Housel
11076bf0c5 Calculate correct scale in tiler() for non-256px tile sizes 2018-07-25 15:11:43 -04:00
Bryan Housel
f74d21557c Force redraws after moving a note or cancelling a note
similar to 95ea0dbbc, there is no history change event to force a redraw
2018-07-24 19:34:01 -04:00
Bryan Housel
63614d5909 formatting 2018-07-24 15:14:26 -04:00
Bryan Housel
46dc44b35b Make the mode buttons dynamic
- show/hide the note button when the notes layer is enabled/disabled
- enable/disable the note button based on notesEditable
2018-07-23 22:21:47 -04:00
Bryan Housel
78fc2f7c27 No longer need to pass dimension to loadTiles 2018-07-23 21:07:28 -04:00
Thomas Hervey
e1cb25d824 merge from 'master' 2018-07-23 18:24:02 -04:00
Thomas Hervey
e23ef4ba4a redraw on note drag. TODO: change dispatch call 2018-07-23 15:09:25 -04:00
Bryan Housel
ac27cbd67d Add support for 512px Mapbox Satellite tiles
The tiler and projection are still not aware of the 512px size.
This results in fetching 512px images but placing them in the 256px slippy map
and scalling them down.

(This is dumb but at least they look nicer than before)
2018-07-22 02:50:49 -04:00
Bryan Housel
52dc6c280f Preparation for non-256px tileSizes in sources 2018-07-22 01:43:56 -04:00
Bryan Housel
2fa593421f Rename scaleExtent to zoomExtent, slightly simplify getTiles() 2018-07-22 01:15:44 -04:00
Thomas Hervey
776f1899b3 merged from 'master' 2018-07-21 21:45:08 -04:00
Bryan Housel
c0b77d8226 remove unneeded dimensions argument (projection clipExtent has it) 2018-07-21 21:44:14 -04:00
Bryan Housel
292347b28a Use utilTiler's Null Island filter for overlay sources 2018-07-21 18:53:19 -04:00
Thomas Hervey
b91fa2841b merged from 'master' 2018-07-21 12:12:36 -04:00