Commit Graph

1266 Commits

Author SHA1 Message Date
Bryan Housel fda8146972 Merge pull request #2686 from ebrelsford/cycleway-preset
Add cycleway preset field for highways with bike lanes
2015-06-15 21:35:03 -04:00
Eric Brelsford 95b1eb6cce Use the cycleway's strings.options property to get options 2015-06-15 16:37:42 -04:00
Eric Brelsford ca9dde8c33 Decide when to use cycleway itself or cycleway:* 2015-06-15 16:32:34 -04:00
Bryan Housel 5799b7fc33 Enter Browse mode before switching API server
(Because if in Select mode, the selected entity will be missing
and cause an error to be thrown)
2015-06-09 23:26:36 -04:00
Eric Brelsford a5dfee71b1 Use "none" as cycleway field placeholder
Ensure "no" is not saved to OSM
2015-06-09 15:15:48 -04:00
Eric Brelsford 31c57c01ce Add cycleway preset for highways with bike lanes 2015-06-09 14:49:50 -04:00
Bryan Housel a7fca1be23 Set iD.detect().locale to requested locale (closes #2672)
When locale is passed in, we should use that locale in
the parts of the code that are using iD.detect().locale:

* tag reference
* localized name display
* map scale
* info box

The one exception is when iD detects 'en-US' and openstreetmap
website tries to pass 'en', leave it as 'en-US'
2015-06-02 12:34:45 -04:00
Bryan Housel 39895b4c7d Also forward help link as html instead of text
re: #2674
2015-06-02 11:12:14 -04:00
Bryan Housel 9ae9d91a90 Treat help doc titles as html instead of text (closes #2674) 2015-06-02 11:06:23 -04:00
tristen 6316e52b55 Merge pull request #2573 from openstreetmap/distance-measurement
Infobox / distance measurement
2015-05-27 11:11:03 -04:00
tristen 249125ce16 Tweaks to the infobox interface
- Variable height depending on the context list
- Added width that alligns with the grid
- Re-use classnames shared by the interface
- Changes to the unit toggle
  -- Shortened name to current unit of measurement (Accounted for this change in i8n)
  -- Display as a button to match other toggle/button like elements in the interface
2015-05-27 10:17:17 -04:00
Bryan Housel 1287e4cad9 Change distance-measurement hotkey to cmd-I 2015-05-26 12:27:50 -04:00
Bryan Housel 6e27b55061 Don't clean description/note/fixme values (closes #2659) 2015-05-26 11:18:09 -04:00
Bryan Housel 51dfbb18cf Only urlencode tag values that start with http (closes #2657) 2015-05-26 09:57:46 -04:00
Bryan Housel b087e78528 Allow zoomToEntity to be called w/o Extent
In case user clicks on Entity description - line 102
2015-04-27 11:49:33 -04:00
Bryan Housel 00c0641f06 Make view extent include both local and remote versions of the change 2015-04-27 10:16:47 -04:00
Bryan Housel 420647f503 Remove LRM character, etc from websites and emails (closes #2323) 2015-04-22 11:57:50 -04:00
Bryan Housel 0313064e22 Use '; ' seperator for opening_hours-like tags (closes #2301) 2015-04-22 09:52:49 -04:00
Bryan Housel aa24891428 In wireframe mode, draw points like vertices (closes #2591) 2015-04-20 22:33:32 -04:00
Bryan Housel 54d30a18eb Invert background opacity widget display values (closes #2595) 2015-04-20 21:22:10 -04:00
Bryan Housel 982276261e i18n for distance measurement widget 2015-04-01 21:00:37 -04:00
Bryan Housel 417925a062 Add distance measurement widget.. 2015-04-01 20:15:38 -04:00
Bryan Housel 52af8d3cbc Stub out infobox 2015-03-31 22:56:08 -04:00
Bryan Housel f8bd67c169 Save custom background to localstorage (closes #2566) 2015-03-31 20:11:41 -04:00
Bryan Housel d7a6b6916c Suppress radial menu when selecting from selection list 2015-03-18 22:19:23 -04:00
Bryan Housel bf3d5d8386 Show solid marker when bbox is too small to see 2015-03-17 00:51:48 -04:00
Bryan Housel 5190c0b857 Minimap can now zoom/unzoom 2015-03-16 23:03:25 -04:00
Bryan Housel ea0bca9914 setup zoom behavior to use Mercator space
Also, a few optimizations:
* don't redraw the minimap unless mainmap dispatched a full redraw event
* don't recenter mainmap on zoomend unless minimap actually got panned
2015-03-16 16:35:58 -04:00
Bryan Housel ba12127e8a Use '/' key for map-in-map (because 'M' = Move) 2015-03-16 00:23:22 -04:00
Bryan Housel 2ad69870e7 Panning map-in-map now recenters main map 2015-03-16 00:23:22 -04:00
Bryan Housel d216afd59f Map-in-Map overview
* press 'M' to toggle
* shows current zoom-6
* with locator overlay and bounding box
2015-03-16 00:23:22 -04:00
Bryan Housel 1f0087d133 Merge pull request #2525 from openstreetmap/conflict-resolution
Merge Conflict Resolution
2015-03-05 19:49:15 -05:00
Bryan Housel a7e67ccfd9 refactor Conflicts ui into its own component 2015-03-04 11:46:56 -05:00
Bryan Housel e79ff79092 Cleaner code for indeterminate feature checkboxes
(fixes #2532)
2015-02-26 14:33:03 -05:00
samanpwbb a4a5812816 style cleanup 2015-02-10 13:24:10 -05:00
samanpwbb e94d089526 fix modals 2015-02-09 18:11:38 -05:00
samanpwbb 7f9d1437d2 zoom to conflict on active 2015-02-09 17:28:22 -05:00
samanpwbb d141827c3e Merge branch 'master' into conflict-resolution-ui 2015-02-06 19:08:50 -05:00
samanpwbb 78e4271071 finish basic layout/style pass 2015-02-06 19:07:57 -05:00
Bryan Housel 62f7681370 Remove row when clicking trash icon in raw tag editor
(closes #2418)

Dispatching `event.change(tag)` does update the tag editor in most
cases, but it is not sufficient to remove a blank row with no tags..
2015-01-14 09:57:23 -05:00
Bryan Housel 95c92e9a59 WIP: conflict save dialog
* multiple buttons
* help text
2015-01-10 20:35:43 -05:00
Bryan Housel e5d6c34efb No default OK button on iD.ui.confirm
This allows the calling code to either keep the OK button or to override
with other buttons as needed.
2015-01-08 22:56:39 -05:00
Bryan Housel ed4929273d Return entities from iD.Connection via callbacks
(instead of dispatching `load` event to merge them into `history`)

This is cleaner becuase now `context` doesn't need to keep an
`altGraph` state used only for Conflict Resolution.

The conflict resolution code calls the `iD.Connection` methods directly,
and other places in the code call `loadEntity` and `loadTiles` wrappers
that merge the entities into the main history.
2015-01-08 14:44:58 -05:00
Bryan Housel 037bd19ebf Fix help pane button toggling (closes #2471)
(and cleanup code to make background, map_data, help panes more consistent)
2014-12-10 13:30:11 -05:00
Christian Schwarz 1d580d3ca2 Fixed address input while nominatim is not available 2014-11-30 22:16:03 +01:00
Bryan Housel 81ea0276f8 Don't show "0 Hidden Features" warning after editOff
(regressed in 916a901)
2014-11-18 22:05:20 -05:00
Sajjad Anwar 17fb2f64e5 Configurable minimum editable zoom 2014-11-11 14:37:11 -08:00
John Firebaugh 9e9a4b3cc0 Fix tests 2014-11-11 14:32:50 -08:00
John Firebaugh 916a901b8f Show all features as auto-hidden when map is not editable 2014-11-11 14:16:16 -08:00
John Firebaugh c66091c00c Merge pull request #2357 from bhousel/feature-filtering
Feature filtering
2014-11-11 12:16:42 -08:00