Commit Graph

102 Commits

Author SHA1 Message Date
Bryan Housel 80b583a6f0 WIP on feature deduplication across tile boundaries
It seems like the ids stored in the features are not reliable, so I'm trying
to generate ids
2018-08-22 23:16:31 -04:00
Bryan Housel 11076bf0c5 Calculate correct scale in tiler() for non-256px tile sizes 2018-07-25 15:11:43 -04:00
Bryan Housel 94b0affe8c Merge branch '4320' of https://github.com/Psigio/iD into Psigio-4320 2018-07-23 08:44:19 -04:00
Jon D 90bc0b8537 Update to prevent detachment of node when either a via or
location_hint role in a turn restriction.
Update to move any other relation to new node.
2018-07-22 19:35:29 +01:00
Bryan Housel 2fa593421f Rename scaleExtent to zoomExtent, slightly simplify getTiles() 2018-07-22 01:15:44 -04:00
Bryan Housel c0b77d8226 remove unneeded dimensions argument (projection clipExtent has it) 2018-07-21 21:44:14 -04:00
Bryan Housel f6e41a1cb8 Remove unused zoomDelta parameter 2018-07-21 18:52:54 -04:00
Bryan Housel 02713e48fb Move cache management out of tiler, it's responsibilty of service
Also remove some unused code and eslint warnings
2018-07-21 11:11:39 -04:00
Bryan Housel ff64455370 rename the file too 2018-07-21 10:12:11 -04:00
Bryan Housel d1fe81b905 rename utilTile -> utilTiler 2018-07-21 10:07:56 -04:00
Bryan Housel e4d829ec06 Have the tiler return filtered results - re: skipNullIsland 2018-07-21 10:03:40 -04:00
Thomas Hervey 386d375b7a fix excessive note tiling and network request 2018-07-19 10:51:39 -04:00
Thomas Hervey c563abaf7a pass dimensions to tile 2018-07-18 15:49:04 -04:00
Thomas Hervey d4b1622667 moved getTiles and filtering to utils 2018-07-14 19:15:25 -04:00
Bryan Housel a52eeb9733 Fix failing tests, lint errors, merge conflicts 2018-07-09 11:17:57 -04:00
Bryan Housel 4fda478f57 Merge branch 'check' of https://github.com/vershwal/iD into vershwal-check 2018-07-09 09:32:15 -04:00
Bryan Housel 4c812b6f35 Return an abortable request from jsonp_request 2018-06-19 23:09:06 -04:00
vershwal ab60d57aa5 Working fine with a given mvt URL. 2018-06-18 01:32:03 +05:30
Bryan Housel 1dbf273878 Remove flow
https://github.com/openstreetmap/iD/issues/3744#issuecomment-374950519
2018-03-22 16:51:53 -04:00
Bryan Housel c08d79e488 Extract tag cleaning code to utilCleanTags, add tests
(closes #4925)
2018-03-22 14:46:36 -04:00
Bryan Housel 8dd7fa611e Merge branch '3744' of https://github.com/Psigio/iD into Psigio-3744 2018-03-03 22:12:36 -05:00
Bryan Housel 668c17ad1e Do not localize decimalCoordinatePair appearing in info panels
(closes #4765)
2018-03-02 00:21:24 -05:00
Jon D 48577aeb63 Add Flow Type Alias for function which returns an object (session_mutex) 2018-02-27 22:25:30 +00:00
Jon D 8655ec6baf Start adding flow annotations, plus updates to build and linting processes to support 2018-02-25 15:44:41 +00:00
Bryan Housel 0bb812c916 Merge pull request #4672 from openstreetmap/1ec5-num-format-3597
Localize numbers, units in scale, info panels
2018-01-23 18:05:37 -05:00
Bryan Housel 3838b02739 Add detect.cssfilters, fallback to opacity only on IE11/Edge
(re: #4711)
2018-01-19 17:28:35 -05:00
Minh Nguyễn 702e3d2a90 DMS coordinates 2018-01-09 03:25:55 -08:00
Minh Nguyễn fe8c218fb3 Localized geocoded coordinate formatting 2018-01-09 02:24:03 -08:00
Minh Nguyễn a1e0d4fc08 Consolidated unit formatting into util module 2018-01-09 02:00:44 -08:00
Bryan Housel 0c0ecdfcfc Comment out some of the requestIdleCallback to fix walkthrough crash
(closes #4533)

There are several issues here.. Here's a quick brain dump:

- the requestIdleCallbacks in map.js (scheduleRedraw) seem to be causing
crashiness in Firefox on fast zoom/unzoom, mousewheel, etc.. anything where
the view transform changes a lot and the redraws don't catch up.
(commented out, reverted back to lodash throttle)

- the requestIdleCallback worker queue in idle_worker.js seems to be causing
crashiness in Firefox and Chrome when exiting the walkthrough.  Something about
deferring the tile parsing as the user leaves the intro has a problem.
It might be an infinite `while` loop, not sure.
(commented out, reverted back to for loop)

- the requestIdleCallback in call_when_idle.js is only used to defer
tile loading in context.loadTiles() - this one seems fine, and actually
has maybe the biggest benefit for improving performance.
(left in)
2017-11-15 22:21:40 -05:00
Bryan Housel 672a555229 Allow spellcheck in textarea fields
(closes #4471)
2017-10-31 22:45:24 -04:00
Bryan Housel c40f242b82 Depend on bhousel/node-diff3 which includes fix for hunk sorting bug
(closes #3544, closes #3058)
2017-10-24 15:38:52 -04:00
Bryan Housel 50b7e2e2a8 Convert lodah-es and d3 to named imports for util 2017-09-25 23:35:06 -04:00
Bryan Housel 75d2c45fd6 Convert lodah-es and d3 to named imports for behaviors 2017-09-24 21:43:54 -04:00
Bryan Housel 82494750ef Cleanup code, detect download support (alternate flow for IE, Edge) 2017-09-15 16:39:50 -04:00
Bryan Housel cd05c51432 loadEntity can use entityCache, but loadEntityVersion should not 2017-08-24 15:02:12 -04:00
Kushan Joshi b356bb855f remove arrow functions :{ 2017-08-24 17:25:59 +05:30
Kushan Joshi 909b72a39e cleaning up 2017-08-24 17:03:04 +05:30
Kushan Joshi 91a569985d playing with map render 2017-08-24 17:02:49 +05:30
Kushan Joshi 82686b10a5 Add requestIdleCallback 2017-08-22 17:38:42 +05:30
Bryan Housel 163323d3df Make sure bool url params actually contain value 'true'
(closes #4222)
2017-08-08 09:51:57 -04:00
Bryan Housel c961788a5b Fix translation for imagery with a '.' in the id
(closes #4112)
2017-06-19 23:35:34 -04:00
Bryan Housel bcd4e5135a Use window.top.location instead of window.location
(closes #3950)
2017-04-21 01:29:22 -04:00
Bryan Housel 6f8770241f Merge pull request #3921 from openstreetmap/walkthrough-updates
Walkthrough updates
2017-04-18 14:13:14 -04:00
Nick Doiron fa87f2b602 support Arabic vowel signs, include Thaana and Hebrew in generic RTL fix 2017-03-22 21:03:46 -07:00
Bryan Housel b55cebed2e Move d3curtain to uiCurtain, remove unused event dispatch 2017-03-22 09:59:59 -04:00
Bryan Housel 1a1fc6db17 Better detection of culture-specific locale in language list
(closes #3842)
2017-02-15 15:09:14 -05:00
Bryan Housel 2314acfec7 Add utilNoAuto to remove autocorrect/spellcheck features from inputs
(closes #3839)
2017-02-14 17:19:24 -05:00
Bryan Housel 6677d15c44 Fix distracting typo 2017-01-27 10:57:53 -05:00
Bryan Housel 12047b1b5b Merge branch 'master' of https://github.com/cedarstudios/iD into cedarstudios-master 2017-01-04 13:33:31 -05:00