Commit Graph

301 Commits

Author SHA1 Message Date
John Firebaugh
e5dd800aff Allow selecting a relation 2013-04-26 11:34:24 -07:00
John Firebaugh
275696caaa Fix icons for lines that use maki (fixes #1371)
Generate a single feature-icons.json and feature-icons.css.
In the JSON, features with a line icon are indicated by the
presence of a `line` property. PresetIcon looks for this to
determine whether or not to add the `preset-icon-line` class.
New line icons may be added by editing line-icons.json.
2013-04-24 12:32:36 -07:00
John Firebaugh
16c1e9d7e5 Show all tags (fixes #1181) 2013-04-23 14:13:03 -07:00
John Firebaugh
d8751fad8d Polish spriting code
* Smaller make-sprite.json.
* Convert operation sprite data to JSON, eliminating
  fragile stylesheet grepping.
2013-04-23 09:45:37 -07:00
Ansis Brammanis
cc8e9a37ca add building field to amenity presets 2013-04-23 12:28:15 -04:00
Ansis Brammanis
34f1a21631 add building_yes field to all shops 2013-04-23 11:54:13 -04:00
John Firebaugh
e0892eb1b7 Don't request locales we don't have; use fallback locales 2013-04-22 14:55:30 -07:00
John Firebaugh
61802674a4 Don't need keys in dist build 2013-04-22 14:45:54 -07:00
John Firebaugh
d66760326b Load translations on demand (fixes #1337) 2013-04-22 14:29:43 -07:00
John Firebaugh
e35fe0b581 Merge branch 'dist' 2013-04-22 12:10:01 -07:00
John Firebaugh
aedd5ee46e Create a dist directory
This directory will contain the built sources (iD.js, iD.css)
and images. On a release branch, we will check in the generated
files. For the osm.us/master deploy, it should run make and use
dist/ as the root.

Paths in css are relative, e.g. url(img/foo.png).
2013-04-22 10:50:36 -07:00
Ansis Brammanis
e0d8d75392 fix tram icon 2013-04-22 13:31:30 -04:00
John Firebaugh
ddfe157a24 Translate 'Search' (fixes #1358) 2013-04-21 16:44:53 -07:00
tyr
8958c5601f updated path preset:
* added new sac_scale, incline and trail_visibility fields
* added ref field
* removed oneway and maxspeed field
this should better reflect how highway=path is used.
See: http://taginfo.openstreetmap.org/tags/highway=path#combinations
2013-04-21 14:03:25 +02:00
John Yani
d489c30e79 Substation preset: Adding the most common tag combination 2013-04-20 22:57:03 +03:00
John Firebaugh
f58ebbb626 Use icon that exists 2013-04-20 11:31:04 -07:00
John Yani
80424d04a0 Presets: Add Volleyball Court 2013-04-20 11:28:39 -07:00
John Firebaugh
846aa539ac Merge branch 'refs/heads/Vanuan-sub_station' 2013-04-20 11:26:30 -07:00
John Firebaugh
db95a07b53 Remove building tag 2013-04-20 11:26:11 -07:00
John Yani
4d3060f5c2 Fixes two problems with Substation
1. substation -> sub_station.
2. Substations are usually  buildings (doesn't apply to points unfortunately).
2013-04-20 04:34:26 +03:00
John Firebaugh
db8ed6c4b2 Use new maki icons 2013-04-19 16:07:34 -07:00
John Firebaugh
8eaeda7fbe Build, update translations 2013-04-19 15:53:57 -07:00
John Firebaugh
3773f8cef6 Merge pull request #1335 from Vanuan/patch-1
Create car_wash.json
2013-04-19 12:31:53 -07:00
Ansis Brammanis
41d9f5f382 commit sprite script 2013-04-19 15:28:55 -04:00
John Yani
77d13bffea Update car_wash.json 2013-04-19 22:28:37 +03:00
Ansis Brammanis
51f929359e use building icon instead of warehouse, fix #1257 2013-04-19 15:16:55 -04:00
Ansis Brammanis
d21d52d905 add maki as dependency, new sprite script
issue #1319
2013-04-19 14:51:48 -04:00
John Yani
cae374ccf1 Create car_wash.json
http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dcar_wash
2013-04-19 20:59:28 +03:00
John Yani
56d7268bbe Update and rename fontain.json to fountain.json 2013-04-19 20:50:15 +03:00
John Yani
fa2596c4b9 Create fontain.json
http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dfountain
2013-04-19 20:31:18 +03:00
Ansis Brammanis
e893f686ca add postal code field, fixes #1292 2013-04-18 16:45:48 -04:00
John Firebaugh
ab56cc5207 Clean up how OAuth keys are handled
Connection defaults to osm.org URL and keys for the simple
case. Customization is done via connection.switch().

Externalize SourceSwitch's use of iD.data.keys.
2013-04-17 17:43:25 -07:00
John Firebaugh
d04695da3b Update osm-auth 2013-04-17 16:23:38 -07:00
Ansis Brammanis
50263f1cd4 update translations 2013-04-16 17:55:00 -04:00
Ansis Brammanis
dd35ed91d9 name field is now localizable 2013-04-16 16:32:39 -04:00
Ansis Brammanis
7e75ea4bad Notify users of API status 2013-04-16 12:36:58 -04:00
John Firebaugh
7f498c2a10 Fix "Remove" translation in radio field (fixes #1317) 2013-04-15 17:06:37 -07:00
John Firebaugh
d6e51cc777 Add access field to barriers 2013-04-15 17:01:47 -07:00
John Firebaugh
399bbdeda9 Add highway=living_street preset 2013-04-15 16:36:50 -07:00
John Firebaugh
b4744a8248 Add "Land Use" category 2013-04-15 16:09:49 -07:00
John Firebaugh
19bcd711ec Split categories into separate files; translate 2013-04-15 16:09:49 -07:00
John Firebaugh
1e8805782f Add landuse=retail preset, tweak icon 2013-04-15 16:09:49 -07:00
John Firebaugh
9dc331215c Make preset changes to individual files 2013-04-15 14:22:45 -07:00
John Firebaugh
1ae9fa59f0 Fix marina preset 2013-04-15 14:17:31 -07:00
Saman Bemel-Benrud
4f2b11ac8c removing line type from artwork preset. 2013-04-15 15:41:44 -04:00
Saman Bemel-Benrud
a2531d53f1 fine tuned some presets. 2013-04-15 15:31:36 -04:00
John Firebaugh
5b36d371ef Add missing structure string 2013-04-15 09:58:17 -07:00
saman bb
c87bf425e7 styled radio menus. 2013-04-14 23:37:19 -04:00
John Firebaugh
a594465b90 Build 2013-04-14 09:23:12 -07:00
John Firebaugh
a500538a1b No icon yet 2013-04-14 09:21:59 -07:00