Commit Graph

283 Commits

Author SHA1 Message Date
Bryan Housel cc938698e8 Add ability to select custom data 2018-08-25 11:14:04 -04:00
Bryan Housel a9aca707b6 Support hovering on data features 2018-08-25 00:04:52 -04:00
Bryan Housel 7714e88f3d Support data area filling (full/partial/wireframe), shadow strokes 2018-08-24 14:07:00 -04:00
Bryan Housel 48e233e4a3 Move some css rules around, add hash and geometry.type to css classlist 2018-08-24 10:39:03 -04:00
Bryan Housel b0f86cdf31 Merge matching polygons across tile boundaries 2018-08-23 22:03:51 -04:00
Bryan Housel 0f07393fb3 Fix data file tests (in both phantom and real browsers) 2018-08-23 11:11:14 -04:00
Bryan Housel bc18f538a0 Use geojson hashcode instead of id for path cache 2018-08-23 01:13:03 -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
Bryan Housel 3eb4d91987 Now supports fetching data from vector tile url 2018-08-21 18:44:05 -04:00
Bryan Housel 575c98ab28 Accept both file and vector tile url templates from settings screen 2018-08-21 01:25:24 -04:00
Bryan Housel 4b446e9e78 WIP merge 'gpx' and 'mvt' layers into single 'data' layer 2018-08-17 13:03:07 -04:00
Bryan Housel 8b3637e55d Speedup imagery index with which-polygon
(closes #5226)
2018-08-16 16:26:01 -04:00
vershwal 1eea46f215 loading bufferdata using d3_request 2018-07-29 11:56:09 +05:30
Bryan Housel 0334e7b353 Visibility stuff
- Draw ellipse below note shadow
- Use brighter color for new note
- Use thicker stroke for note shadow (same width as point)
2018-07-24 00:16:37 -04:00
Bryan Housel 6dcb879990 Remove notes and deselect any selected note when disabling notes layer 2018-07-23 23:39:10 -04:00
Bryan Housel a3dc0e8213 Shrink annotations, add margin between note header and comments 2018-07-23 23:20:34 -04:00
Thomas Hervey e1cb25d824 merge from 'master' 2018-07-23 18:24:02 -04:00
Thomas Hervey 00bb733736 changed note annotation icons 2018-07-21 22:49:12 -04:00
Thomas Hervey 373353f40d added breathe behavior & cleaned hover/select styling on notes 2018-07-21 15:54:47 -04:00
Thomas Hervey bf9b19359a WIP drag note 2018-07-20 21:41:44 -04:00
Matias Volpe c000da07af Leave directional indicator only for current image 2018-07-19 09:49:00 -03:00
Matias Volpe aac394a487 Update directional indicator based off of current bearing in Mapillary JS 2018-07-19 08:45:28 -03:00
Thomas Hervey b017616993 added new note icon and completed sidebar 2018-07-18 09:38:59 -04:00
Thomas Hervey af2b67663b added new-note button 2018-07-17 11:35:27 -04:00
Bryan Housel 73d0f30453 Merge branch 'notes' 2018-07-16 16:59:35 -04:00
Bryan Housel 694cc60893 Add thread dots to note header icon, disable comments on closed nodes 2018-07-16 16:53:45 -04:00
Bryan Housel 70f87632c7 Cleaner note icon rendering
Before: We drew 2 fontawesome comment icons, on on top of the other
After: Moved icon into iD spritesheet and gave it an actual `stroke` property that can be styled
2018-07-16 13:18:38 -04:00
Thomas Hervey bd1586500e added tests for notes service 2018-07-13 15:01:43 -04:00
Bryan Housel 8a1079c3c6 Update notes on status change 2018-07-13 00:15:30 -04:00
Bryan Housel 369877bcb2 Refine css for footway=crossing and other special paths
(closes #5126)
2018-07-10 15:47:07 -04:00
Thomas Hervey eafae6c58c WIP: update service calls; todo: note update event handling 2018-07-10 13:50:36 -04:00
Bryan Housel cf3fc95b06 A few changes to make it easier to render arbitrary geojson 2018-07-10 01:10:17 -04:00
Bryan Housel 99e7366fc2 swap d3_fetch for d3_request (for backward compatability with IE11) 2018-07-09 14:30:51 -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
Thomas Hervey 0f49514fbb updated: removed centering when clicking a note 2018-07-08 10:27:44 -05:00
Bryan Housel de12396654 Fix projection so the map is where the point is
Also remove gj redundancy
2018-07-08 00:50:26 -04:00
Bryan Housel 7b42743513 pacify some eslint warnings 2018-07-07 23:00:48 -04:00
Thomas Hervey 73ee5c2fc9 fixed select_note mode, cleaned note_editor, TODO: enable note save 2018-07-03 22:45:51 -04:00
Bryan Housel b14d1b5061 resolve conflicts, fix a few minor bugs prob caused by merging:
- don't insert multiple times into the rtree in `services/osm.js`
- use `d.id` instead of `d.key` as the key in `svg/notes.js`
2018-07-03 16:40:07 -04:00
Bryan Housel a474e3bb9f Working on note editor style and ui, simplify d3 code 2018-07-02 12:35:07 -04:00
Thomas Hervey 2c22fe00a2 updated: hacky note hovering; todo: complete note click handling 2018-07-02 10:44:47 -04:00
Bryan Housel 13a30c050f Add some dots if there is a comment thread 2018-07-02 00:00:06 -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
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
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