Bryan Housel
e34e299fd0
add dLat/dLon <-> meters tests, narrower limits for distance tests.
2014-06-23 17:12:02 -04:00
Bryan Housel
2723c65506
refactor dLat/dLon <-> meters calcs and use slightly better WGS84 constants
2014-06-23 16:23:04 -04:00
Bryan Housel
71d44d561e
remove unnecessary semicolons (jshint)
2014-06-20 18:04:49 -04:00
Bryan Housel
c316f87c6f
Fix buggy padByMeters (PI/180 is needed here)
2014-06-20 18:01:53 -04:00
Bryan Housel
d342e01326
Map scale adjusts and displays user-friendly units.
2014-06-20 17:54:42 -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
f2c5dc1d18
Merge pull request #2255 from cschwarz/address-formats
...
Western europe address formats
2014-06-15 16:06:31 -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
John Firebaugh
8f3f9c39d3
Merge pull request #2252 from 1ec5/patch-1
...
Vietnamese address preset
2014-06-15 08:26:44 -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
203381694b
Merge branch 'refs/heads/bhousel-bhousel-layers'
2014-06-13 12:03:16 -07:00
John Firebaugh
a3c7b5956d
Remove obsolete tests
2014-06-13 12:03:08 -07:00
John Firebaugh
5dc461495e
Merge branch 'refs/heads/cschwarz-address-localization'
2014-06-13 11:56:19 -07:00
John Firebaugh
8089185cc4
jshint
2014-06-13 11:40:38 -07:00
John Firebaugh
4590feab63
Calculate address field widths
2014-06-13 11:39:17 -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
John Firebaugh
199fd35173
Simplify CSS
2014-06-13 10:38:27 -07:00
Bryan Housel
38cb42e0bc
Add tests for line z-indexing.
2014-06-11 22:30:36 -04:00
Bryan Housel
7f35ab6125
separate svg group for areas and their related strokes/fills
...
(for consistency)
2014-06-11 13:01:27 -04:00
Christian Schwarz
83e66b3705
Improved address preset
2014-06-10 21:08:50 +02:00
Christian Schwarz
ff0357b927
Added countrycode spec
2014-06-10 19:09:53 +02:00
Christian Schwarz
cfa023a988
Removed pointInFeature
2014-06-10 18:25:39 +02:00
Bryan Housel
0c5f563a26
add test for iD.Entity.layer(), fix spelling of man_made.
2014-06-09 23:39:16 -04:00
Bryan Housel
a5f839db44
improve bridge styles, add low-zoom, butt linecaps..
2014-06-09 23:16:44 -04:00
Bryan Housel
97b189b397
Precreate fixed number of layergroups between -10, 10
2014-06-09 21:20:50 -04:00
Christian Schwarz
13c1711d68
Switched to Nominatim api for now
2014-06-09 20:22:56 +02:00
Bryan Housel
c5ba92d20f
Merge branch 'master' into bhousel-layers
2014-06-06 16:13:48 -04:00
Bryan Housel
849363ff8c
Group by layer to correctly depth sort lines..
2014-06-06 16:10:37 -04:00
Christian Schwarz
b8ec19356f
Updated country code endpoint
2014-06-05 21:32:14 +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
John Firebaugh
8250a9753d
Fix preset field buttons ( fixes #2247 )
2014-06-05 10:23:24 -07: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
cfd2b6a619
Group line parts so that they can be properly depth sorted.
2014-06-02 17:39:51 -04:00
Bryan Housel
4f70731dfb
Only render oneway markers that actually appear in the viewport
...
(motorways and rivers used to fill the DOM tree with a lot of crap!)
2014-05-31 03:23:31 -04:00
Bryan Housel
5ee391dd52
Better layer sorting to fix z-depth issues..
2014-05-30 15:20:36 -04:00
John Firebaugh
3e138bf16b
1.4.0
2014-05-29 16:09:54 -07:00
John Firebaugh
f095454420
Update translations
2014-05-29 16:04:39 -07: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
cb2121b7c4
Don’t preventDefault on mousedown ( fixes #2115 )
...
This prevents blur events from getting properly dispatched.
2014-05-28 18:02:44 -07:00
John Firebaugh
c30ba03606
Ensure combobox menus are closed on blur ( fixes #2207 )
...
See 7c20bd3 for explanation.
2014-05-28 17:37:31 -07:00
John Firebaugh
38b821bdea
Limit imagery_used tag to 255 characters ( fixes #2181 )
2014-05-28 17:04:49 -07:00