4274 Commits

Author SHA1 Message Date
samanpwbb
e721e93a31 cleanup mapillary UI 2014-09-16 13:49:13 -04: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
9378cd152e should be organic: only
http://wiki.openstreetmap.org/wiki/Key:organic
2014-09-09 16:14:22 -04:00
Chia-liang Kao
d3c3634ccc shop=organic is deprecated 2014-09-06 22:54:55 +08:00
John Firebaugh
2edea8f5fd Add taginfo projects data
https://wiki.openstreetmap.org/wiki/Taginfo/Projects
2014-09-05 09:56:58 -07:00
Bryan Housel
f67ec4f957 another round of preset cleanups:
* improve search terms, and remove some which were redundant
* add many missing presets under `shop=*` (from wiki)
* remove `vertex` geometry from many building-like presets
2014-08-26 00:25:34 -04:00
Bryan Housel
1a8ef310c6 Merge branch 'master' into preset-cleanup
Conflicts:
	data/presets/presets.json
	data/presets/presets/amenity/post_office.json
2014-08-25 14:05:49 -04: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
John Firebaugh
f11e8c5635 Add address to post office preset (fixes #2332) 2014-08-25 10:29:18 -07:00
John Firebaugh
0221c9b877 Rewrite area intro sentence (#2336) 2014-08-25 10:26:27 -07:00
Bryan Housel
a8840a1075 Better presets for running, motor, non-motor race tracks
closes #2330
2014-08-22 12:34:39 -04:00
John Firebaugh
362d1b4a58 Add preset for amenity=bureau_de_change (fixes #2309) 2014-07-29 14:24:04 -07:00
John Firebaugh
b448d0e236 Make amenity preset non-searchable (fixes #2310) 2014-07-29 14:21:35 -07:00
John Firebaugh
1519ad6273 Merge pull request #2299 from simonpoole/patch-3
Reword description for delete action
2014-07-29 10:43:22 -07:00
Minh Nguyễn
ff32dc3897 climing → climbing 2014-07-26 15:58:05 -07:00
John Firebaugh
9f00e465e9 Revert brand-related preset changes
I'm not convinced we shouldn't be encouraging simply tagging
`name=McDonald's`, `name=Shell`, etc., without `brand` or
`operator` at all.
2014-07-25 10:02:12 -07:00
Bryan Housel
7cd7ec8af6 add brand field to fast_food, restaurant presets too 2014-07-25 11:22:04 -04:00
Bryan Housel
a988a0647d Add brand field to fuel preset (closes #2300) 2014-07-25 10:34:51 -04:00
Bryan Housel
60af39c7da add mtb:scale, mtb:scale:uphill, mtb:scale:imba (closes #2244) 2014-07-23 13:54:48 -04:00
Bryan Housel
4f141a153e name suggestions should set name and also brand (see #2300) 2014-07-22 14:44:25 -04:00
Bryan Housel
b090035e64 Merge pull request #2296 from bhousel/master
Support option strings for combo fields
2014-07-22 14:08:50 -04:00
John Firebaugh
467e7ee877 Add amenity=bus_station preset (fixes #2298) 2014-07-22 10:53:20 -07:00
Bryan Housel
cc7649406d Update preset options according to #2296 2014-07-22 12:15:05 -04:00
simonpoole
b1b3bc73eb Reword description for delete action
The current text implies that deleting hides a feature on the map, and not what it really does.
2014-07-22 10:42:14 +02:00
Bryan Housel
af0be9a59b remove unused indexed field property 2014-07-21 19:06:24 -04:00
Bryan Housel
98119b5b5b Add option strings for many combo fields.. 2014-07-21 16:27:30 -04:00
John Firebaugh
a75cd68364 Don't automatically tag motorways, etc. as oneway=yes 2014-07-13 09:23:06 -07:00
John Firebaugh
140f54dc07 Upgrade js-yaml
Fixes dumping of "yes" and "no" keys, which much be quoted.

See http://juliankniephoff.wordpress.com/2012/09/01/reserved-words-in-yaml-and-translating-booleans-in-rails/

Fixes #2286.
2014-07-13 09:09:53 -07:00
Bryan Housel
874a3e2ad6 disable Move and Rotate operations if area < 80% contained in the viewport
see #542.
Also included:
1. DRY up code for "% contained in" extent testing.
2. If action.disabled() returns a better reason, show that instead of the too_large one.
2014-07-11 17:11:50 -04:00
John Firebaugh
06ece1013f Re-add an access_simple field with suitable values 2014-07-10 09:49:33 -07:00
John Firebaugh
32f70af694 Revert "use simple access field for some presets"
This reverts commit 7faaa54165.

Fixes #2280
2014-07-09 11:44:36 -07:00
Aaron Lidman
c0c2bb06f4 Update imagery.json 2014-07-08 16:24:48 -04:00
Paul Norman
700e863b6c Use the more common tagging for a tailor
shop=tailor outnumbers craft=tailor by about 2:1, so should be preferred
2014-06-26 09:00:14 -07:00
Bryan Housel
40537f2a57 Add street lamp preset (fixes #2271) 2014-06-25 17:04:59 -04:00
John Firebaugh
dd42edb4bf Drop postcode for Ireland addresses
Per f2c5dc1d18 (commitcomment-6790305)
2014-06-25 10:21:58 -07:00
Christian Schwarz
c8e984d6d2 Merge branch 'master' of https://github.com/openstreetmap/iD into address-formats 2014-06-15 20:49:16 +02:00
John Firebaugh
11acf216c3 Don’t interpolate geometry type 2014-06-15 09:56:00 -07:00
Christian Schwarz
1ee2a653b3 Added many european address formats 2014-06-15 14:23:11 +02:00
Minh Nguyễn
25d11fe489 Corrected Vietnamese address preset
Nothing in Vietnam uses addr:suburb, and it seems to be intended to be subordinate to addr:district and addr:subdistrict, which means it definitely doesn’t map to thị xã. I also found some examples using addr:district for thị xã. So addr:district should be used for both quận and thị xã in a municipality.

The resulting placeholder text will be rather long, and Vietnamese mail tend to have each component on a separate line, so I also split subdistrict, district, and city onto separate lines.
2014-06-14 23:26:41 -07:00
Minh Nguyễn
37dc5df58c Added Vietnamese address format
Accounts for both rural and urban address formats.
2014-06-14 16:11:58 -07:00
John Firebaugh
f2a9154bf2 Add Brazilian format based on #2124 2014-06-13 11:39:17 -07:00
John Firebaugh
8a0b67afcc Add more placeholders 2014-06-13 11:39:17 -07:00
John Firebaugh
257d3e07df number -> housenumber 2014-06-13 10:38:48 -07:00
Christian Schwarz
13c1711d68 Switched to Nominatim api for now 2014-06-09 20:22:56 +02:00
Christian Schwarz
81effc23cf Removed local countries.json 2014-06-05 20:33:38 +02:00
Christian Schwarz
49eae8e389 Switched to a custom country code service 2014-06-05 20:30:12 +02:00
Christian Schwarz
5a51a6c8c2 Added gb address format with housename field 2014-06-05 00:42:15 +02:00
Christian Schwarz
60f51d7c79 Test country code lookup with nominatim 2014-06-04 01:05:46 +02:00
Christian Schwarz
b3acd56bbb Added support for localization of address fields 2014-06-03 22:49:42 +02:00
Bryan Housel
941ee1d88c Allow suggestion if preset with same name exists, pick suggestion w highest count..#2224 2014-05-28 13:17:48 -04:00