Bryan Housel
ede561080d
Add update method, remove getters..
...
This makes the osmNote work a bit more like other osm objects in iD.
- When working with the osm objects, we'll treat them as immutable.
So all modifications will be through the update method:
e.g. can do this in a repl, like chrome devtools console:
> n = iD.osmNote()
osmNote { id: -1 }
> n = n.update({ foo: 'bar' });
osmNote { foo: "bar", id: -1, v: 1 }
- none of the other osm objects have getters, and in JavaScript all the
properties are public anyway
2018-06-29 22:47:14 -04:00
Bryan Housel
fd1d2f006b
Fix the osmNote initializer
2018-06-29 22:39:40 -04:00
Bryan Housel
d034691fb0
Merge remote-tracking branch 'origin/merge_notes_service' into notes
2018-06-29 22:11:39 -04:00
Bryan Housel
9517635d4d
Merge branch 'master' into notes
2018-06-29 21:54:24 -04:00
Thomas Hervey
b3f7b06f66
merged: services/notes into /osm; todo: fix some caching & rendering
2018-06-29 20:01:30 -04:00
Bryan Housel
9ba517e7f1
Merge pull request #5116 from jgravois/patch-1
...
use 22 as maxZoom for Esri imagery (selectively)
2018-06-29 17:10:22 -04:00
Bryan Housel
21a7ed2b34
Add doublequotes to iD-sprite input file param so glob works on Windows
...
(closes #5077 )
2018-06-29 20:19:22 +01:00
Thomas Hervey
737ccfcfba
updated: siebar displays note details on hover (via svg)
2018-06-29 14:43:01 -04:00
Bryan Housel
f02630a8fc
Restore rollup-plugin-includepaths dependency for finding d3
...
Apparently still needed to build the project on Windows
2018-06-29 19:32:50 +01:00
john gravois
50c371f77b
continue to catch 404s
2018-06-29 09:57:52 -07:00
john gravois
dd951a9b35
use 22 as maxZoom for Esri imagery (selectively)
2018-06-29 09:20:05 -07:00
Bryan Housel
76d21c8293
stub test/spec/svg/gpx.js
2018-06-29 02:23:42 -04:00
Bryan Housel
d668f79407
Merge branch 'jgravois-tilemap'
2018-06-28 23:21:24 -04:00
Bryan Housel
b6fb3a345d
Fetch Esri tilemap at high zoom to determine max zoom
...
The tilemap is only fetched if the user is at z > 18 and will not fetch again
unless the user has moved more than 1km away from the previous fetch
2018-06-28 23:20:08 -04:00
Bryan Housel
98e4fed829
v2.9.2
2018-06-28 19:02:06 -04:00
Bryan Housel
74e70f5949
npm run translations
2018-06-28 18:55:44 -04:00
Bryan Housel
53a00c0f6c
npm run imagery
2018-06-28 18:54:44 -04:00
Bryan Housel
154a49b7cc
Upgrade to eslint v5.0.0
2018-06-27 12:20:51 -04:00
Bryan Housel
9bb30221dd
Remove duplicate entry from .gitignore
2018-06-26 21:18:17 -04:00
Bryan Housel
3943364852
Merge pull request #5106 from openstreetmap/remove_test_user_mocks
...
removed: user mocks from image service test specs
2018-06-26 21:11:23 -04:00
Bryan Housel
6a7e56a755
A few more translations
2018-06-25 21:26:27 -04:00
Bryan Housel
6ac9e4fff5
v2.9.1
2018-06-25 21:15:25 -04:00
Bryan Housel
a0a4e68cfe
npm run translations
2018-06-25 19:35:04 -04:00
Bryan Housel
bc01939b93
Actually throttle connection, filter out bad term translations
...
The bad term translations are where a person translated the instructions:
"<translate with synonyms or related terms for..."
2018-06-25 19:33:36 -04:00
Bryan Housel
c9e9135900
npm run build to update retaining wall height field
2018-06-25 15:41:52 -04:00
Bryan Housel
6ce2c5ea46
Merge pull request #5113 from tordans/patch-1
...
Add field `heights` to tag for `barrier=retaining_wall`
2018-06-25 15:39:13 -04:00
Tobias
7ff178b675
Add attribute height to tag for retaining_wall
...
Same as for hedge https://github.com/openstreetmap/iD/blob/mast/data/presets/presets/barrier/hedge.json
2018-06-25 20:48:41 +02:00
Thomas Hervey
0859d00195
updated: notes svg to prevent duplicate appending
2018-06-25 12:45:16 -04:00
Bryan Housel
048ea07025
npm run imagery
2018-06-25 12:12:27 -04:00
Bryan Housel
6a79f2692b
Blacklist more worldwide imagery sources that are generated from osm
2018-06-25 12:12:27 -04:00
greenkeeper[bot]
1309e7a161
chore(package): update osm-community-index to version 0.4.5
2018-06-25 10:46:17 -04:00
Bryan Housel
112ef76426
Add preset for emergency=lifeguard
...
(closes #4918 )
2018-06-24 13:41:00 -04:00
Bryan Housel
ec6ab6e65d
Add preset for emergency=fire_alarm_box
2018-06-24 12:58:19 -04:00
Bryan Housel
9f7e55b27d
Add height, name fields to natural=cliff, improve search terms
...
(closes #5095 )
2018-06-24 12:20:45 -04:00
Bryan Housel
39e170dd5f
Add royal_cypher to the capital letter allowing whitelist
...
(closes #5109 )
2018-06-24 12:15:53 -04:00
Bryan Housel
b1252d43ff
Add booth field to telephone presets
...
(closes #5088 )
2018-06-24 12:11:56 -04:00
Bryan Housel
a5b8e4b8bd
Rename from emergency=first_aid to emergency=first_aid_kit
...
re: https://github.com/osmlab/osm-tagging/issues/7
re: #5097
2018-06-23 22:03:05 -04:00
Bryan Housel
7716532061
Class surface as lowzoom around z17-z18.5 (based on latitude)
...
(closes #5101 )
2018-06-23 01:42:11 -04:00
Bryan Housel
c5a21724c0
Add "road" and "street" as search terms for all road presets
...
(closes #5103 )
2018-06-23 00:47:45 -04:00
Bryan Housel
917c6dd6fc
Add hires checkbox to toggle 512 and 1024 resolutions
...
Also added code to calculate quadkey maps for:
- 2048 (works but is pretty slow and not that better than 1024)
- 4096 (doesn't work)
2018-06-22 23:07:07 -04:00
Thomas Hervey
1878397387
remove console.log, change icon
2018-06-22 21:34:16 -04:00
Bryan Housel
e2e3588b3c
Add high resolution checkbox
2018-06-22 18:27:15 -04:00
Thomas Hervey
dab46d2778
updated: notes rendering
2018-06-22 17:43:07 -04:00
Bryan Housel
5975f0d902
Support resolution up to 2048, more zoom
2018-06-22 17:26:31 -04:00
Bryan Housel
0c34ebdfed
Dont fetch margin tiles when testing
...
(spy should be called 1 time, not 25 times)
2018-06-22 15:32:35 -04:00
Bryan Housel
b7df31b747
Update styles, reenter bubbles with new key when sequences connected
2018-06-22 15:32:28 -04:00
Bryan Housel
d69ff02d8e
Return the marginal tiles at the end of the tiles array
2018-06-22 15:29:45 -04:00
Thomas Hervey
db1c896ef2
removed: user mocks from image service test specs
2018-06-22 14:00:52 -04:00
Bryan Housel
fb324dd865
Allow d3.geo.tile to fetch margin tiles (beyond viewport covering)
2018-06-22 12:24:40 -04:00
Bryan Housel
d41cf5e6d8
Wait to get canvas context until image is loaded, avoid some globals
2018-06-22 11:41:29 -04:00