Commit Graph

966 Commits

Author SHA1 Message Date
Bryan Housel
0b93f9cdb5 Add leisure=nature_reserve preset (closes #2496) 2015-01-13 22:07:55 -05:00
Bryan Housel
037bd19ebf Fix help pane button toggling (closes #2471)
(and cleanup code to make background, map_data, help panes more consistent)
2014-12-10 13:30:11 -05:00
John Firebaugh
c66091c00c Merge pull request #2357 from bhousel/feature-filtering
Feature filtering
2014-11-11 12:16:42 -08:00
Bryan Housel
30dde37e02 fix partial fill mode - pointer events visible stroke only
also, fix wireframe mode - pedestrian style
2014-11-06 23:47:54 -05:00
Bryan Housel
ace44d2e7d fix highway-pedestrian line width to work in wireframe 2014-11-06 00:22:19 -05:00
samanpwbb
140b56a68a style adjustments + clean out unused code 2014-10-31 17:09:49 -04:00
Bryan Housel
224db06ca4 design enhancements..
* replace full width bottom bar with subtle list item
* move hidden feature details to list item tooltip
* simplify some of the text labels on the Map Data panel
* progressively hide some footer elements with media queries
2014-10-31 10:55:00 -04:00
Aaron Lidman
5c5649f3d8 Replace buttons with dropdown 2014-10-29 17:13:05 -04:00
Bryan Housel
c9426531d5 Remove footer opacity dimming
re: https://github.com/openstreetmap/iD/pull/2357#issuecomment-60106754
2014-10-28 21:37:03 -04:00
samanpwbb
70e7987943 add data icon, fix button style 2014-10-28 21:37:02 -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
8a98339bc2 Add area fill selector (wireframe/partial/full) to map data panel
also:
* style dark tooltips with shortcut keys
* use uppercase for shortcut keys
2014-10-28 21:37:01 -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
51cadd5b82 initial wireframe style (key 'w')
(also fix gpx layer, now on top of data, to not steal pointer events)
2014-10-28 21:37:01 -04:00
Bryan Housel
35e7474829 Rename Features to Map Data..
* move GPX and Mapillary layers to Map Data
* put feature filters and layer data into show/hide containers
* cleanup css
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
71cf00416d Update maki 2014-10-20 12:48:17 -07: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
Bryan Housel
bf4659e98f more consistency in presets..
* in general, display fields:
    operator, address, building_area, hours (where this makes sense)
* make kindergarten, school, college, university more similar
* show building_area for most craft=* and shop=*
* remove erroneous `tinsmith` file
* update README
* structure json files like:
    icon, fields, geometry, terms, tags, name
    (most json files were this way already)
2014-08-25 13:44:49 -04:00
Bryan Housel
9a2f30d62a change residential, commercial landuse styles (closes #2317)
Now using softer versions of the "standard" LBCS landuse styles from here:
https://www.planning.org/lbcs/standards/pdf/InOneFile.pdf
2014-08-11 16:52:09 -04: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
e579dab87f cleanup footer styles, append account links to footer link menu 2014-06-25 15:08:48 -04:00
Bryan Housel
114cb33e05 Added scale, hardcoded at 180px, displays meters 2014-06-19 17:11:30 -04:00
Bryan Housel
c5ada5052a Add stubs for map scale.. 2014-06-18 11:36:16 -04:00
John Firebaugh
203381694b Merge branch 'refs/heads/bhousel-bhousel-layers' 2014-06-13 12:03:16 -07:00
John Firebaugh
4590feab63 Calculate address field widths 2014-06-13 11:39:17 -07:00
John Firebaugh
257d3e07df number -> housenumber 2014-06-13 10:38:48 -07:00
John Firebaugh
199fd35173 Simplify CSS 2014-06-13 10:38:27 -07:00
Bryan Housel
a5f839db44 improve bridge styles, add low-zoom, butt linecaps.. 2014-06-09 23:16:44 -04:00
Christian Schwarz
5a51a6c8c2 Added gb address format with housename field 2014-06-05 00:42:15 +02:00
Christian Schwarz
b3acd56bbb Added support for localization of address fields 2014-06-03 22:49:42 +02:00
John Firebaugh
d90f8054b1 Remove retina cursors
They are broken on Safari in a way that is incompatible
with making them work on Chrome.

https://bugs.webkit.org/show_bug.cgi?id=120783

Fixes #2157.
2014-05-29 15:53:13 -07:00
John Firebaugh
29d26f5078 Fix restrictions rendering on FF (fixes #2241) 2014-05-27 14:26:27 -07:00
Martin Raifer
3011cbdaa8 fix typo: "only_straight_ahead" -> "only_straight_on" 2014-05-22 11:51:44 +02:00
John Firebaugh
eaaff52d62 Help text 2014-05-18 16:02:48 -07:00
John Firebaugh
48e3ff2f22 Vertex in turn restriction editor isn't selectable 2014-05-18 16:02:48 -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
f74f6ad54a Use restriction preset icons 2014-05-18 16:02:47 -07:00
John Firebaugh
f39ae89177 Render turns of selected way 2014-05-18 16:02:47 -07:00
John Firebaugh
7cac179ce0 Start work on turn restriction editing field 2014-05-18 16:02:46 -07:00
John Firebaugh
be0126aba6 Extract iD.svg.Defs from Surface
Need to have a single defs for the entire document but
multiple Surfaces.
2014-05-18 16:02:46 -07:00
Martin Raifer
fee1ce7443 update maki sprite 2014-05-11 20:52:46 +02:00
Bryan Housel
0eca063b8e Move building styles after everything.
(mostly so railway=station tagged building looks like a building)
2014-05-01 10:40:26 -04:00
Bryan Housel
66a1464031 Avoid dashed stroke on railway areas and railway platforms.. 2014-05-01 01:16:33 -04:00