McLaynV
61670beb1d
remove empty line from drag_note.js ( #11015 )
2025-05-06 09:19:00 +02:00
Quincy Morgan
a1af118f0e
Ensure locales and presets are loaded before the UI loads ( close #7406 )
...
Consolidate localization behavior and init to a coreLocalizer function and singleton
Explicitly support `en-US` locale
Rename coreData to coreFileFetcher and export a singleton rather than using a property of coreContext
Add `apiConnections` property of coreContext to simplify adding a source switcher
Replace some init functions with re-callable, promise-supporting `ensureLoaded` functions
Make coreContext itself load the UI if a container has been specified at init time
Fix code tests
2020-03-31 12:23:31 -07:00
Quincy Morgan
0931459dba
Reduce use of global selection (re: #7445 )
2020-03-24 13:02:06 -07:00
Quincy Morgan
f2a687f68b
Convert container from id to class
2020-03-20 15:08:56 -07:00
Bryan Housel
6e5cb45c17
Don't bundle the imagery anymore, fetch from dist/data at runtime
...
(re: #4994 )
2020-01-30 17:10:41 -05:00
Bryan Housel
89724cfb1b
Remove support for debug rendering of the community index
...
We have http://openstreetmap.community now for this, and it eliminates
another place in the code where that data would have been needed.
This commit also ES6ifies svgDebug.
2020-01-29 13:35:25 -05:00
Quincy Morgan
3f35a35dd1
Remove unused imperial.json and drive-left.json data files
2019-11-08 19:28:02 +01:00
Quincy Morgan
d01bb78707
Reduce circular dependencies caused by importing from indexes, the location of the validation models, and the location of areaKeys ( close #6237 )
2019-04-24 13:45:59 -07:00
Bryan Housel
95a1bbaf97
Add downloaded debug flag and visualization for tiles downloaded
2019-04-08 22:06:47 -04:00
Bryan Housel
11bfeaabfc
Add browser-polyfills, remove lodash assign, compact, values
...
(re: #6087 )
2019-03-22 17:14:41 -04:00
Bryan Housel
8b3637e55d
Speedup imagery index with which-polygon
...
(closes #5226 )
2018-08-16 16:26:01 -04:00
Bryan Housel
242a01a3e1
Import osm-community-index and debug flag so we can look at it
2018-04-03 22:44:52 -04:00
Bryan Housel
6d7659b3bb
Refactor common helper code to svg/helpers.js, add area nopes
2017-12-21 10:36:02 -05:00
Bryan Housel
ba5b3eee9c
More work on vertex drawing, add debug for touch targets
2017-12-15 00:26:37 -05:00
Bryan Housel
9edae82673
Convert lodah-es and d3 to named imports for svg
2017-09-25 23:16:24 -04:00
Bryan Housel
93d50b4e87
Use live bound object for imagery array, remove context.imagery() accessor
...
Also update documentation, closes #3359
2016-11-14 11:16:45 -05:00
Bryan Housel
46b6086dcf
Update projection arg for d3.geoPath(), deprecate d3.geoClipExtent()
2016-10-29 15:27:06 -04:00
Bryan Housel
0d0e54fdff
Fix more namespaces that were missed in the first pass
2016-10-04 21:15:30 -04:00
Bryan Housel
3102a4ae6a
Rename all the things to include pseudonamespaces
2016-10-04 19:06:20 -04:00
Bryan Housel
c5a8bcc3a6
More fixes to fields
2016-09-18 12:57:23 -04:00
Bryan Housel
a6d683eaf7
Code cleanups in svg, ui for selection merging, fix Mapillary.
2016-09-17 23:26:49 -04:00
Bryan Housel
afb88f2ae6
Fix rendering selections for all the OSM layers
...
This includes some renames for clarity.. "surface" -> "selection"
to make it clearer that rendering functions take a selection, and
don't necessarily render to the literal `#surface` node anymore.
2016-09-08 22:37:06 -04:00
Tom MacWright
cdb533fa84
Begin d3 v4 update
2016-08-21 15:19:27 -04:00
Tom MacWright
8819d3d061
Remove continued iD references ( #3341 )
...
* Remove continued iD references
* make build.js safe enough to dodge json plugin bug
* Package as an iife to avoid var name issue
2016-08-10 20:06:45 -07:00
Kushan Joshi
b3492b17a0
external modules for SVG
2016-07-06 14:39:14 -04:00
Beau Gunderson
fb838645ae
refactor svg into ES6 modules for #3118
2016-06-16 11:58:23 -07:00