Commit Graph

232 Commits

Author SHA1 Message Date
Bryan Housel
eb88b67673 CSS styling for all preset icons 2015-11-04 10:47:28 -05:00
Bryan Housel
5d00ee523c Workaround for Firefox svg icons 2015-11-03 21:06:16 -05:00
Bryan Housel
d5dcc1ff1a More cleanups to iD-sprite and styles, remove old png and json files 2015-10-29 23:18:21 -04:00
Bryan Housel
070d13788e Add line and relation presets to iD-sprite and define viewBoxes 2015-10-28 15:50:20 -04:00
Bryan Housel
c021be99d0 WIP: style adjustments for radial menu operations icons 2015-10-24 22:51:48 -04:00
Bryan Housel
a6b83ef27f WIP: working svg sprite, import to defs, icons stylizable by css 2015-10-23 19:03:12 -04:00
Bryan Housel
444357348a Remove inset box for residential, commercial, industrial preset images 2015-10-22 16:12:15 -04:00
Bryan Housel
68c6cfd27a Update highway colors to match openstreetmap-carto (closes #2764) 2015-10-21 01:24:39 -04:00
Bryan Housel
fc4c3591c1 Fix a bunch of nagging styling issues
Render highway=road differently from highway=unclassified (closes #2742)
Dashed track lines are not visible on dark backgrounds (closes #657)
Improve path rendering to avoid new user errors (related #2327)
Railway platforms under construction (closes #1893)
2015-07-29 18:38:54 -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
58cb66f472 Add highway=corridor and universal level field
For now, `highway=corridor`:
  * styled like highway=pedestrian
  * and matches 'paths' feature filter.

(closes #2687, closes #2218)
2015-06-30 22:02:22 -04:00
Pierre GIRAUD
71061a4f5e Better look for mapillary markers 2015-06-12 16:52:20 +02:00
Bryan Housel
61bfc1d993 Style for barriers (closes #2592) 2015-04-21 11:41:45 -04:00
Bryan Housel
0ced23eaaf Make lasso css rules more selective 2015-03-18 22:18:13 -04:00
Bryan Housel
2ad69870e7 Panning map-in-map now recenters main map 2015-03-16 00:23:22 -04:00
Bryan Housel
0b93f9cdb5 Add leisure=nature_reserve preset (closes #2496) 2015-01-13 22:07:55 -05: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
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
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
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
a5f839db44 improve bridge styles, add low-zoom, butt linecaps.. 2014-06-09 23:16:44 -04: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
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
f39ae89177 Render turns of selected way 2014-05-18 16:02:47 -07: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
Bryan Housel
b55bb0e55d Move all structure styles (bridge/tunnel/embarkment) after way styles. 2014-04-30 14:03:51 -04:00
Bryan Housel
f3ee2664a1 Render embarkment/cutting with dashed casing 2014-04-30 14:01:46 -04:00
Bryan Housel
5bcd228f27 Remove tag-highway from tunnel css, so railway and waterway tunnels get some opacity too. 2014-04-30 10:23:04 -04:00
John Firebaugh
c2ac0518b8 Fix more fill opacities 2014-04-26 13:32:59 -07:00
John Firebaugh
75bf1cfd04 Fix typo 2014-04-26 12:50:12 -07:00
John Firebaugh
8417329039 Fix highway=pedestrian area fill 2014-04-23 18:58:23 -07:00
John Firebaugh
273b5e2f63 Fix fill colors 2014-04-15 15:41:57 -07:00
John Firebaugh
6dbd0166fc Improvements to land use preset display 2014-04-15 10:45:56 -07:00
samanpwbb
a5f095bd9c add unique style for landuse military 2014-04-14 15:48:40 -04:00
Bryan Housel
593a041f74 various updates to presets
Add "crop" field for landuse=farm/farmland/farmyard (for #2149)
  Add "trees" field for landuse=orchard
  Add landuse=landfill
  Add the hoops=* field to the basketball preset (for #1984)
  Add amenity=nightclub
  Add smoking field for many presets under amenity, building, office, tourism (for #1990)
2014-03-17 23:10:34 -04:00
John Firebaugh
e382943f0d Use .low-zoom class rather than hard-coding z16 2013-11-01 11:17:49 -07:00
SJohnson
0790cf7423 Added the ability to load points from gpx files and display on the map 2013-09-25 14:42:58 -07:00