Commit Graph

277 Commits

Author SHA1 Message Date
John Firebaugh 087d5aa65f Ensure that boundary relation members look like boundaries 2016-01-30 13:01:01 -08:00
Bryan Housel e161867b14 Add rendering for tag-crossing pedestrian crosswalks 2015-12-27 01:24:52 -05:00
Bryan Housel 23bd2a101d Fix issues with <use>'d elements and fill under Firefox (closes #2860) 2015-12-06 22:28:09 -08:00
Bryan Housel 0b93fefa41 Add surface and tracktype as secondary tags for classing 2015-12-01 15:41:45 -05:00
Bryan Housel 8a9accfe8d Replace generic "tag-ephemeral" with specific "tag-status tag-status-xxx" 2015-12-01 15:31:25 -05:00
Bryan Housel 16ca10708b Fix oneway markers in IE 2015-11-26 01:11:46 -05:00
Bryan Housel b4628298d9 Differentiate between paved/unpaved roads (closes #2564)
Now `iD.svg.TagClasses` will add the class 'tag-unpaved' for unpaved roads.
2015-11-25 15:28:37 -05:00
Bryan Housel 093b2a5a60 Workaround for broken maki hairdresser-18 icon 2015-11-25 02:00:28 -05:00
Bryan Housel d729795049 Use svg for maki also 2015-11-03 16:43:22 -05:00
Bryan Housel 3853c0d993 Fix the rest of the icons (leave walkthrough graphics alone for now) 2015-11-02 20:46:08 -05:00
Bryan Housel 7a9acd84ee Restore almost all of the rest of the icons throughout the UI 2015-10-31 01:38:39 -04:00
Bryan Housel aa91ff49f8 Icons for operations, turn restrictions, bug/translate (closes #2766) 2015-10-30 14:06:29 -04:00
Bryan Housel 3af17cb011 Add iD.svg.Icon svg icon builder 2015-10-30 14:00:36 -04:00
Bryan Housel a6b83ef27f WIP: working svg sprite, import to defs, icons stylizable by css 2015-10-23 19:03:12 -04:00
Martin Raifer 6707063a53 don't try to label if centroid is undefined
updates fix from 09642b1e to updated d3 path.centroid return value structure (see https://github.com/mbostock/d3/commit/492215ad42e4b23bb713c012c449fa262007ec88#diff-fa5fbee10216651a004363cf56fb3602L43)

fixes #2757
refs #1180
2015-08-26 09:47:07 +02:00
Bryan Housel 1db51501a5 switch jshint to eslint (closes #2733) 2015-08-23 03:14:20 -04:00
Bryan Housel 7288806012 Add styling for ephemeral tags (closes #2740)
includes various forms of:
 'proposed', 'construction', 'disused', 'abandoned', 'dismantled',
 'razed', 'demolished', 'obliterated'
2015-07-28 17:18:16 -04:00
Bryan Housel 61bfc1d993 Style for barriers (closes #2592) 2015-04-21 11:41:45 -04:00
Bryan Housel aa24891428 In wireframe mode, draw points like vertices (closes #2591) 2015-04-20 22:33:32 -04:00
Bryan Housel dfe8fd1e90 features performance enhancements
1. reusue entity.geometry where possible
2. cache entity parents
2014-11-18 22:05:08 -05:00
Bryan Housel 2f6004fcfa performance tuning work-in-progress
* store entity's matched features in a graph transient
* replace fn calls to get commonly used _keys and _hidden arrays
* replace lodash calls with faster for loops (in some places)
* always pass graph/resolver as a param
2014-11-05 00:27:14 -05:00
Bryan Housel 094db692ea Don't include hidden vertices in drawHover 2014-10-28 21:37:03 -04:00
Bryan Housel da32150c4a Revert some of 2832041 because of Firefox pattern fill issues
Looks like styling the element is the only way to achieve this after all..
2014-10-28 21:37:02 -04:00
Bryan Housel 7d5189f3b0 Area filling options: wireframe, partial, full..
* implemented as css classes on surface element
* patterned fills can be done with css too.. removed the
  code from areas.js to set patterned fill on each element)
* dummy test code in `map_data.js` uses 'w' key to toggle..
2014-10-28 21:37:01 -04:00
Bryan Housel 8fd177935d Feature filtering (in progress)
(rebased to master post-Mapillary merge)
2014-10-28 21:37:00 -04:00
John Firebaugh 0b1ec49402 Rewrite as a separate layer 2014-09-19 14:51:44 -07:00
samanpwbb e721e93a31 cleanup mapillary UI 2014-09-16 13:49:13 -04:00
Tom MacWright 88bb6967d9 Style and usability simplifications 2014-09-11 14:14:57 -07:00
Peter Neubauer 29dde3f217 Implement Mapillary layer in iD
- adding a temp wikipedia icon from http://upload.wikimedia.org/wikipedia/commons/4/45/Right-facing-Arrow-icon.jpg

Making the click update and rotate an image marker on the map with comapss direction. Needs to be centered etc.

now properly enabling/disabling the different Mapillary layers upon activation/deactivation

Upgrade to faster Mapillary API

better arrow icon, refactoring to have all single-image operations in the image-layer

dist build

adding mapillary translation

adjusting image link

trying to adjust the image link for github deploy

better layout

removing font-awesome, not needed.

https for calls

consistent quotes

taking care of more translation, fix case of no images found on Mapillary

more english translations

- scoping image calls to selection.
- .inspector-wrap and .panewrap are hard to scope, since they are outside the selection, same for the #mapillary-inspector.

-scoping calls in sequences layer

adding translation

fixing jslint errors

more jshint errors

adding mapillary to tests

trying to lay out single markers, please help with the geo translation, @jfirebaugh

- adding the image layer to the active iD SVG instead of background
- add a new mode for selecting Mapillary images
- first stab of adding the image pane in the sidebar itself in order to contain the selections (needs to be layouted)

cleaning

trying to mark and keep selected image between mouseovers

refactoring to contain mapillary into the iamge mode

refactoring to contain mapillary into the iamge mode

adding to test html

cleaning up

handling unset selected image

cleanup

better sidebar

moving image into the lower right

Minor visual adjustment mapillaryImage

better no_image text and toggling of selected image

handling of text disappearing

intendation

fixing test errors

making sequences be below images

open Mapillary links in new tabs

better arrows and selectability on arrows as a workaround for real navigation in panos

more contrast for the selected image

adjusting image style

- adjusting style, removing sequence lines
- adding photos as a mode with shortcut 'm'

- fix test errors

moving switch back to right sidebar, keeping keyboard shortcut.

cleanup

file rename to avoid GIT mess with casing.

- better scoping
- removed unused hover function

- making the checkbox follow mode changes

removing unused icon

handling automatic mode exit
2014-09-11 14:14:57 -07:00
John Firebaugh b4fa085663 Do not fully fill certain landuse values, e.g. landuse=residential
residential, retail, commercial and industrial landuse tags
typically cover large, dense areas with many overlapping
features. The large click targets of filled areas have proven
to be very good for usability in the general case, but are
a common source of accidental mistagging in this case.

We may add additional tags to this list, but these are the
obvious first step — especially landuse=residential.

Fixes #542.
2014-07-29 10:34:27 -07:00
Bryan Housel e23448c25e Class midpoints to match parent way and adjust styles.
After editing more with 1.5.3, I really dislike the more visible
midpoints I added in afa1efd.  This commit gives the midpoints
tag classes so that we can style only *certain* midpoints more visible
(footpath, cycleway, bridleway, etc) and leave all the others dim.
2014-07-28 23:11:52 -04:00
Bryan Housel afa1efd922 Adjust midpoint opacity for more visibility (#1448)
(esp. on sidewalks, footpaths, bridlepaths, etc)
2014-07-16 23:45:33 -04:00
Bryan Housel 26f8849c3a render triangular midpoints to show direction of way #1085 2014-07-16 00:30:21 -04:00
Bryan Housel b289c4d345 Set vertex attributes on update selection not enter (re: 01ca07f) 2014-06-26 16:47:58 -04:00
Bryan Housel 01ca07ff0c Compute vertex icons at all zooms (fixes #2249)
(before they got created without an icon if they enter() at zoom 16)
2014-06-25 16:40:50 -04:00
Bryan Housel 1c61b4b0f2 reset loc btw loop iterations (because hoisting) 2014-06-16 11:11:50 -04:00
Bryan Housel b07cf7c1c1 Always draw midpoint handles within viewport (like #1840) 2014-06-14 01:33:20 -04:00
Bryan Housel 7f35ab6125 separate svg group for areas and their related strokes/fills
(for consistency)
2014-06-11 13:01:27 -04:00
Bryan Housel 97b189b397 Precreate fixed number of layergroups between -10, 10 2014-06-09 21:20:50 -04:00
Bryan Housel 849363ff8c Group by layer to correctly depth sort lines.. 2014-06-06 16:10:37 -04:00
Bryan Housel cfd2b6a619 Group line parts so that they can be properly depth sorted. 2014-06-02 17:39:51 -04:00
Bryan Housel 5ee391dd52 Better layer sorting to fix z-depth issues.. 2014-05-30 15:20:36 -04:00
John Firebaugh 0a83545a76 Simplify and fix midpoint drawing logic (fixes #2136) 2014-05-28 16:48:01 -07:00
John Firebaugh b77f9f3a78 Fix turn icon clipping 2014-05-21 15:08:38 -07:00
John Firebaugh ffee92cbd6 Fix U-turn icon 2014-05-21 15:05:41 -07:00
John Firebaugh 8b6ce214a2 Initial support for only_* restrictions 2014-05-19 15:53:46 -07:00
John Firebaugh 3ac705b67e Fix flicker 2014-05-18 16:36:23 -07:00
John Firebaugh 573237e94e Render U-turns 2014-05-18 16:02:48 -07:00
John Firebaugh d4d80b2d6e Use turn restriction icons 2014-05-18 16:02:48 -07:00
John Firebaugh 3d210ac3c1 Implement basic restriction toggling 2014-05-18 16:02:47 -07:00