Commit Graph

123 Commits

Author SHA1 Message Date
Max Grossman
e0e6f5b918 remove non-used util class 2018-12-17 12:52:21 -05:00
Max Grossman
c897331cd1 presets test w/build 2018-12-13 13:30:38 -05:00
Max Grossman
96e44be69c merge 2.12.2 2018-12-13 11:22:32 -05:00
Bryan Housel
bee01d8497 Destroy all old background layer tooltips before making new ones
(closes #5551)
2018-12-05 00:35:45 -05:00
Bryan Housel
c1b19e7c9e Generate unique _id for each tooltip
This lets allows multiple tooltips around nested elements.
The previous code did a bunch of  .selectAll('.tooltip') that would
break if it matched multiple tooltips.
2018-11-26 14:14:19 -05:00
Bryan Housel
e3f5aecda9 Remove dataSuggestions and utilSuggestNames
- dataSuggestions was just a reexport of the name-suggestion-index
- utilSuggestNames was a combobox fetcher function used only once by uiFieldLocalized
    Doesn't need to be a util if it's only used once in the code
    and the tests for it were not really that interesting
2018-11-20 21:27:32 -05:00
Bryan Housel
317a3be93b Add tiler.getGeoJSON, useful for debugging tile settings 2018-11-14 14:22:10 -05:00
Bryan Housel
152022aec4 Use context.keybinding for keybindings that don't change
(closes #5487)
2018-11-13 20:57:21 -05:00
Bryan Housel
bb30cbf555 Move lib/d3.keybinding.js -> util/keybinding.js
almost none of the original d3 "plugin" code remains
2018-11-13 13:42:09 -05:00
Bryan Housel
cef64b0751 Avoid requesting tiles from wrapped world
(closes #5485)
2018-11-12 15:50:11 -05:00
Quincy Morgan
1161767932 Moves the entity highlighting function to util/util.js
Breaks out the code for getting a selector for entities and all their descendants into a generic function
Accounts for circular relations when recursively getting all relation member IDs
2018-10-26 18:39:01 -07:00
Max Grossman
0a31137c78 move maprules/mapcss to a service class
ref #remote-presets
2018-09-23 18:38:01 -04:00
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
Max Grossman
8f9a281825 additional test tweaks
ref #remote-presets
2018-08-14 12:49:41 -04:00
Max Grossman
f168f85496 passing mapcss test w/out parser, use that on sever
ref #remote-presets
2018-08-10 09:16:59 -04:00
Max Grossman
3a0f8ddd09 infer geometries
ref #remote-presets
2018-08-08 13:21:35 -04:00
Max Grossman
f5c21ddaaf some geometry inferring!!!
ref #remote-presets
2018-08-08 08:50:45 -04:00
Max Grossman
b93444de75 working on isArea-ish equivalent for mapcss selector objects
ref #remote-presets
2018-08-02 18:03:13 -04:00
Max Grossman
5b1dee3779 add tests for mapcss checks
ref #remote-presets
2018-08-02 12:47:47 -04:00
Max Grossman
2bf5eaf6e7 initial plumbing for iD validation errors
ref #remote-presets
2018-07-31 14:22:34 -04:00
Max Grossman
db78df55c8 get validaiton objects on context
ref #remote-presets
2018-07-31 13:41:24 -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
Max Grossman
57ea240177 make uiModes options strict to match only those within defaults
ref #remote-presets
2018-07-18 10:50:54 -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