Commit Graph

3095 Commits

Author SHA1 Message Date
Bryan Housel
01ca07ff0c Compute vertex icons at all zooms (fixes #2249)
(before they got created without an icon if they enter() at zoom 16)
2014-06-25 16:40:50 -04:00
John Firebaugh
bf1e50df49 Merge pull request #2266 from bhousel/bhousel-scale
Add linear map scale to footer section
2014-06-25 12:23:53 -07:00
Bryan Housel
a5329a8493 missing comma.. 2014-06-25 15:16:21 -04:00
Bryan Housel
e579dab87f cleanup footer styles, append account links to footer link menu 2014-06-25 15:08:48 -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
47aa28dc98 man_made=pipeline doesn't imply oneway
thread: https://lists.openstreetmap.org/pipermail/tagging/2014-June/017944.html
2014-06-21 15:20:05 -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
1313081c16 Merge pull request #2257 from bhousel/bhousel-midpoints
Always draw midpoint handles within viewport (like #1840)
2014-06-18 12:06:53 -04:00
Bryan Housel
2c69f7e823 Replace magic numbers in trimmedExtent with variables.. 2014-06-18 11:50:50 -04:00
Bryan Housel
c5ada5052a Add stubs for map scale.. 2014-06-18 11:36:16 -04:00
Bryan Housel
1a2b9c82f6 add tests, jshint cleanup 2014-06-16 11:49:07 -04:00
Bryan Housel
1c61b4b0f2 reset loc btw loop iterations (because hoisting) 2014-06-16 11:11:50 -04:00
John Firebaugh
11acf216c3 Don’t interpolate geometry type 2014-06-15 09:56:00 -07:00
Bryan Housel
b07cf7c1c1 Always draw midpoint handles within viewport (like #1840) 2014-06-14 01:33:20 -04:00
John Firebaugh
203381694b Merge branch 'refs/heads/bhousel-bhousel-layers' 2014-06-13 12:03:16 -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
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
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
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
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
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
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
John Firebaugh
0a83545a76 Simplify and fix midpoint drawing logic (fixes #2136) 2014-05-28 16:48:01 -07:00
John Firebaugh
c0db8b8e67 jshint 2014-05-27 14:42:15 -07:00
John Firebaugh
0c09871c4a Don’t show turn restriction editor for non-highways (fixes #2240) 2014-05-27 14:35:57 -07:00
John Firebaugh
e10bba980f Handle cases where current vertex disappears (fixes #2234) 2014-05-27 11:25:24 -07:00
Martin Raifer
a796d4b1ea only check .isIntersection for nodes 2014-05-27 15:19:47 +02:00
Bryan Housel
89ac5f41db Merge pull request #2235 from bhousel/bhousel-fields
Allow checkbox fields to support custom strings
2014-05-23 22:16:14 -04:00