Bryan Housel
30ff68348f
Don't disable boundries when disable_features list is present
...
(also removed some unused functions)
2017-10-23 15:53:46 -04:00
Bryan Housel
9f1d476594
Attempt to remove d3, lodash from bundle, but leave available for tests
2017-09-26 14:19:14 -04:00
Bryan Housel
7da27f2a16
Hide administrative boundaries by default
...
(closes #4292 )
2017-09-18 22:31:11 -04:00
Bryan Housel
be07dcccdf
Always access OSM over https now
...
If you were logged in before, you might need to logout with
`id.connection().logout()` or delete the OAuth data from localStorage
2017-03-02 00:54:24 -05:00
Bryan Housel
5c8bb43ec0
Combine all the css files into dist/iD.css
2017-02-20 15:55:27 -05:00
Bryan Housel
9b7d79a3fe
Use live bound object for presets object, change context.presets() getter
2016-11-14 15:44:02 -05: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
f55de9ac7d
Create source switcher in ui() loaded callback
2016-11-13 20:57:04 -05:00
Bryan Housel
f800e5afbc
Remove unnecessary window parameter to Context
2016-11-10 15:19:03 -05:00
Bryan Housel
45d85e04c5
Make authenticated api calls if possible
2016-10-24 01:21:38 -04:00
Bryan Housel
053074d076
Export live binding for services in iD.services, fix init/reset
...
(closes #3324 )
Previously we allowed devs to swap out services that they didn't need.
This became difficult now that ES6 exports are immutable bindings.
But we can wrap the immutable bindings themselves in a live object,
to get back the flexibility that we used to have.
This change also drops the `taginfo` accessor on Context, since devs who want
to swap out taginfo service with something else can now do so through the live
binding. `iD.services.taginfo = myTaginfo()`
2016-10-14 10:38:09 -04:00
Bryan Housel
aa2c4afd47
Flatten names, cleanups in index.html
2016-10-04 22:03:38 -04:00
Bryan Housel
87950fd472
Fix lib export, flatten names in tests and docs
2016-10-04 21:56:09 -04:00
Tom MacWright
760c515c8a
Fix source toggle, fix way drawing
2016-09-04 17:33:42 -04:00
Tom MacWright
b493c85399
Refactor away multi requirement
2016-09-03 15:13:20 -04:00
Bryan Housel
44d16b25b7
Restore the source switcher
2016-09-03 00:37:37 -04:00
Tom MacWright
cdb533fa84
Begin d3 v4 update
2016-08-21 15:19:27 -04:00
Tom MacWright
6341d4e4b5
one-shot build ( #3266 )
...
* One-shot development
* Move jsonp to module
* Tooltip -> module
* Remove d3.jsonp
* Fix tooltip lint
* Load all libs but d3 itself with require
* Add top-level brfs
* Unformat intro graph
2016-08-10 15:25:19 -07:00
Tom MacWright
af776501d3
Require locale, second pass ( #3259 )
...
* Require locale, second pass
* Remove t global, remove t where it isn't needed
2016-07-21 16:20:13 -04:00
Tom MacWright
604d1e2719
import lodash ( #3257 )
2016-07-19 12:04:16 -04:00
Bryan Housel
7ca6d06254
Replace iD global with iD.Context() module ( #3254 )
2016-07-19 10:15:32 -04:00
Bryan Housel
cb71e90384
Module for iD.Detect() ( #3243 )
...
* convert iD.Detect() iife to a module
* iD.Detect() should return loaded locale (except for 'en')
(The previous code was a hack to replace the detected locale with the loaded
locale. Now that Detect is a module, we can not replace the detected locale
from external code, but we can have Detect() return the locale we really want)
2016-07-13 09:15:47 -04:00
Kushan Joshi
fc680a2e9a
external modules for services
2016-07-06 14:39:58 -04:00
Kushan Joshi
b3492b17a0
external modules for SVG
2016-07-06 14:39:14 -04:00
Tom MacWright
9c82bba6fb
[wip] use diff3 like a module ( #3228 )
...
* [wip] use diff3 like a module
* Fix diff3 style, comment out diff3 test
2016-07-06 14:16:25 -04:00
Tom MacWright
b15338b964
Use local jxon
2016-07-05 19:00:12 -04:00
Tom MacWright
712d471a6b
Use togeojson package
2016-07-05 18:29:15 -04:00
Tom MacWright
869725551f
Use marked as a dependency
2016-07-05 18:22:43 -04:00
Tom MacWright
8f68221b9b
Use osm-auth as a package.
2016-07-05 18:14:36 -04:00
Kushan Joshi
9f2a251d31
Fixing Interdependecy between ui.preset and ui.core
2016-07-02 16:00:52 +05:30
Bryan Housel
2e10c9e21e
Eliminate vendored rbush library
...
(re: #3180 )
2016-06-26 21:34:10 -04:00
Bryan Housel
448fa7aa0c
Eliminate vendored sexagesimal library
...
(re: #3180 )
2016-06-24 16:46:55 -04:00
Kushan Joshi
4083a0e29e
adding a lanes() to return lane data
2016-06-22 16:11:46 -04:00
Kushan Joshi
2b4cb618b2
Remove svg and deal with it separately with ui
2016-06-22 12:34:43 +05:30
Kushan Joshi
6a56ad547c
external modules for renderer
2016-06-22 12:34:43 +05:30
Kushan Joshi
68e0400332
Add external modules to validations
2016-06-22 12:34:43 +05:30
Kushan Joshi
25485c40fb
external modules for presets
2016-06-22 12:34:43 +05:30
Kushan Joshi
52c466bc27
external modules for operations
2016-06-22 12:34:43 +05:30
Kushan Joshi
e79f8fb022
external modules for util
2016-06-22 12:34:43 +05:30
Kushan Joshi
33b2b1e6fd
external modules for modes
2016-06-22 12:34:43 +05:30
Kushan Joshi
0939983515
external modules for behavior
2016-06-22 12:34:43 +05:30
Kushan Joshi
22a510c3f6
Add lib/id/index.js to index.html
2016-06-20 22:16:08 +05:30
Kushan Joshi
7267d05e3d
external modules for "geo"
2016-06-18 20:38:39 +05:30
Kushan Joshi
b62f446045
final iD.ui changes
2016-06-17 17:09:45 +05:30
Kushan Joshi
5b10acc5c3
add iD.ui.preset
2016-06-17 17:04:26 +05:30
Kushan Joshi
07e5e908f2
making test run
2016-06-17 17:02:04 +05:30
Martin Raifer
447532900b
refactor ui into ES6 modules for #3118
2016-06-17 17:01:32 +05:30
Kushan Joshi
6a4adb476c
create submodule iD.ui.intro
2016-06-17 16:57:43 +05:30
Kushan Joshi
14f0d95e94
modularize iD.behavior
2016-06-17 12:53:19 +05:30
Kushan Joshi
46d68bca87
modularize iD.renderer
2016-06-17 12:53:19 +05:30