Commit Graph

2268 Commits

Author SHA1 Message Date
Ansis Brammanis
63f2df89b3 Fix drawing areas
the way that the vertex is being added to is the original one,
not the one with the 'end' node, so there is no need to remove it.

The new node de-dupe code was making this break area drawing.

Fixes #1322
2013-04-16 22:25:48 -04:00
John Firebaugh
5d88bce00f Fix Loading 2013-04-16 18:20:23 -07:00
John Firebaugh
90383a4591 Look through all stylesheets for sprites
Needed for concantenated iD.css.
2013-04-16 17:57:58 -07:00
John Firebaugh
77ce20c8c1 Add configurable image path 2013-04-16 17:20:21 -07:00
Ansis Brammanis
7403b9b9e8 Fix maxspeed unit detection
Centroid calculations were failing for two node ways.
It just uses the middle node now.
2013-04-16 19:08:52 -04:00
Ansis Brammanis
6636d9ace4 fill in localizations using wikipedia
If a feature has a wikipedia tag, then all
translated page titles are fetched. If a user
starts adding a localized name for a language with
an available translation, that translation gets
filled in automatically.
2013-04-16 17:43:39 -04:00
Ansis Brammanis
6fc290cf5c insert blank name localization field at top 2013-04-16 17:43:04 -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
Ansis Brammanis
c0c71a54d5 switch back to github for bug reporting
fix #1230
2013-04-16 11:12:02 -04:00
John Firebaugh
dc0a65768d Trim tag values (fixes #1276) 2013-04-15 18:40:45 -07:00
John Firebaugh
7f498c2a10 Fix "Remove" translation in radio field (fixes #1317) 2013-04-15 17:06:37 -07:00
John Firebaugh
19bcd711ec Split categories into separate files; translate 2013-04-15 16:09:49 -07:00
Ansis Brammanis
f981724448 improve wikipedia input
- more careful about parsing existing values
- if an wikipedia url is entered, convert it to the
  preferred format
2013-04-15 18:07:43 -04:00
John Firebaugh
e196a67555 Remove source switch 2013-04-15 11:31:25 -07:00
John Firebaugh
5e354018a8 Hide account/logout when embedded (fixes #1229) 2013-04-15 11:29:24 -07:00
Tom MacWright
115ed4b4bb Update osmauth to support pre-auth 2013-04-15 11:29:23 -07:00
Tom MacWright
f091237b70 JSHint fixes 2013-04-15 12:59:29 -04:00
Saman Bemel-Benrud
541ac0ad51 friendlier access form. 2013-04-15 12:27:53 -04:00
saman bb
c87bf425e7 styled radio menus. 2013-04-14 23:37:19 -04:00
John Firebaugh
52929b9312 Show preset grid for untagged features (fixes #1258) 2013-04-12 18:15:56 -04:00
John Firebaugh
cf60d344f1 Fix AddPoint's use of Select mode 2013-04-12 11:26:03 -04:00
John Firebaugh
71dda769f2 FF can't focus an SVG element 2013-04-12 11:24:25 -04:00
John Firebaugh
94e2c8d8d6 Prevent duplicate consecutive nodes (#1296) 2013-04-12 10:55:53 -04:00
John Firebaugh
5dda54ea52 Refine focus behavior for inspector (fixes #1277)
Auto-focus the search field only right after finishing drawing.
At that point, the radial menu isn't shown anyway. So then the
flow for correcting geometry before assigning a preset is:

 1. Draw.
 2. Finish drawing. The search field is focused, and no
    radial menu is open.
 3. Click again to reselect the feature and show menu.
    Now the search field is blurred.

In other words: when the menu is shown, search should not be
focused. When search is focused, the menu should not be shown.
2013-04-12 10:08:44 -04:00
John Firebaugh
4a960216d1 Camel case 2013-04-11 10:11:10 -04:00
John Firebaugh
0540060f2e Fix global leak 2013-04-11 10:10:38 -04:00
Saman Bemel-Benrud
4158b1c48e use svg for radial menu. 2013-04-09 12:34:57 -04:00
Saman Bemel-Benrud
bce352f27a reworked background reset button. 2013-04-08 19:21:21 -04:00
John Firebaugh
1f44b45570 Rename variable 2013-04-06 17:57:59 -07:00
John Firebaugh
872b148bc0 Add access field (#934) 2013-04-06 17:55:53 -07:00
Ansis Brammanis
a8f41b8c57 Prevent creation of ways with duplicate nodes
Related to #1249
2013-04-05 16:35:51 -04:00
John Firebaugh
05c659bdd7 Render oneway arrows for junction=roundabout (fixes #1255) 2013-04-05 12:27:36 -07:00
Ansis Brammanis
f356e3e357 fix cursors 2013-04-05 14:24:58 -04:00
Ansis Brammanis
a8cf59e21c simplify 2013-04-05 13:31:08 -04:00
Ansis Brammanis
d7cc24b935 shadows for multipolygons 2013-04-05 12:11:23 -04:00
saman bb
cebf5dc1a6 adding mini-loader graphics. 2013-04-05 11:45:49 -04:00
Ansis Brammanis
ece158b65e fix geocoder 2013-04-04 19:10:47 -04:00
Ansis Brammanis
acdc1b3824 add nodes to all of a segment's ways
when
- dragging a node to a way
- starting a line from a way
- starting an area from a way
- drawing a way
2013-04-04 17:58:53 -04:00
John Firebaugh
c1df01cec1 Fix global leak 2013-04-03 16:45:40 -07:00
John Firebaugh
7e2485dd87 Capture better stack traces 2013-04-03 16:41:32 -07:00
John Firebaugh
ff3405ae02 Reapply 92ceae9 2013-04-03 16:29:28 -07:00
Saman Bemel-Benrud
4bc98c32d1 reworked out links, closes #1242 2013-04-03 14:20:38 -04:00
John Firebaugh
fb16dc8af6 Custom d3 3.1 build (fixes #1232) 2013-04-02 15:00:32 -07:00
John Firebaugh
261e901a91 Fix console reference for IE
https://app.getsentry.com/id/id/group/4402396/
2013-04-02 13:55:10 -07:00
Ansis Brammanis
3ad94406cb fix multi-select regression 2013-04-02 16:54:08 -04:00
Ansis Brammanis
e097641f4e Fix deleting entity with modified field
fixes #1237
2013-04-02 16:43:53 -04:00
Ansis Brammanis
a4d7b20027 Don't try to select non-multipolygon relations 2013-04-02 16:23:40 -04:00
Ansis Brammanis
d573d42ebe Revert "don't try to select relations"
This reverts commit 5c15a180a3.
2013-04-02 16:00:39 -04:00
Ansis Brammanis
834139a7ba fix lasso 2013-04-02 15:59:09 -04:00