Commit Graph

1441 Commits

Author SHA1 Message Date
Thomas Hervey
2c22fe00a2 updated: hacky note hovering; todo: complete note click handling 2018-07-02 10:44:47 -04:00
Thomas Hervey
5b4dde0004 pulled updates from remote 2018-07-02 07:48:56 -04:00
Bryan Housel
13a30c050f Add some dots if there is a comment thread 2018-07-02 00:00:06 -04:00
Bryan Housel
535208beb5 Move tests to spec/services/osm.js and remove old notes.js files 2018-07-01 23:35:10 -04:00
Bryan Housel
00c8ff4f69 Don't add notes to the _seenEntity cache
re: 229484a940 (commitcomment-29560519)
2018-07-01 22:50:28 -04:00
Thomas Hervey
fc4d800c69 updated: pull from remote 2018-07-01 16:30:32 -04:00
Bryan Housel
487ec9d837 Better spinner event management
re: https://github.com/openstreetmap/iD/pull/5107#issuecomment-401617938
2018-07-01 12:48:51 -04:00
Bryan Housel
f3d31f3075 Update css styles for notes
- open notes are red (default)
- resolved notes are green
- orange on hover
- yellow on select (also added centerEase to note location)
2018-06-30 10:44:28 -04:00
Thomas Hervey
dcef11459f updated: notes caching 2018-06-30 08:08:12 -04:00
Thomas Hervey
eba9bde337 updated: pull from remote 2018-06-30 08:06:46 -04:00
Bryan Housel
2f8efee26a Draw 2x icons (shadow and fill) so they stand out more 2018-06-30 03:47:03 -04:00
Bryan Housel
229484a940 Cleanup osm service notes and caches, remove state variable
This seems like a lot but the main things here are:
- remove the _loadingTiles "global" variable.  It was causing problems because
it was being checked from the callbacks, which are async.
- cleanup the caches
- use DOM API getElementsByTagName('id') to get note id
- set a lower tilezoom z13 for notes (meaning: fetch larger bounding boxes)
2018-06-30 03:46:42 -04:00
Thomas Hervey
1b06dbd8c9 delete: demo select file (unintentional commit) 2018-06-29 23:36:11 -04:00
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
Thomas Hervey
737ccfcfba updated: siebar displays note details on hover (via svg) 2018-06-29 14:43:01 -04: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
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
6ac9e4fff5 v2.9.1 2018-06-25 21:15:25 -04:00
Thomas Hervey
0859d00195 updated: notes svg to prevent duplicate appending 2018-06-25 12:45:16 -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
7716532061 Class surface as lowzoom around z17-z18.5 (based on latitude)
(closes #5101)
2018-06-23 01:42:11 -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
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
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
Bryan Housel
abbffd5e5b Avoid recreating canvases when showing the layer, put under ms-wrapper not body 2018-06-22 09:12:07 -04:00
Bryan Housel
5f1c79c91d pacify linter, gitignore vscode settings 2018-06-22 01:20:15 -04:00
Bryan Housel
e145c1da01 Merge branch 'streetside' of https://github.com/jharpster/iD into jharpster-streetside 2018-06-22 00:59:07 -04:00
LorenMueller
1a93ed74ef new var for toggle of 4 or 16 images per face 2018-06-21 12:43:58 -07:00
Thomas Hervey
e16b411576 added: first test (failing) 2018-06-21 15:26:05 -04:00
Thomas Hervey
45761008bf cleaned: extraneous details in notes 2018-06-21 11:13:38 -04:00
Thomas Hervey
db0fe7e539 merged from master 2018-06-21 11:06:57 -04:00
Thomas Hervey
473570c701 updated: fixed services/notes function declarations 2018-06-21 10:14:18 -04:00
Bryan Housel
b238d442a6 Adjust default zoom for points to z19
(closes #5099)
2018-06-21 01:33:18 -04:00
Thomas Hervey
3df01e27c0 added: svg notes, TODO: add icon, test 2018-06-20 17:38:45 -04:00
Bryan Housel
4c812b6f35 Return an abortable request from jsonp_request 2018-06-19 23:09:06 -04:00
LorenMueller
81bddf27fa 'q' lib as dependency; updated streetside for higher resolution imagery 2018-06-19 15:22:56 -07:00