Commit Graph

3610 Commits

Author SHA1 Message Date
Bryan Housel 6b1fe52d0d Map centerEase to selected marker 2016-02-10 22:41:18 -05:00
Bryan Housel e5fc872a19 Adjust Mapillary styles for cross browser support 2016-02-10 17:12:51 -05:00
Bryan Housel 0210d69177 Use getBoundingClientRect for dimensions instead of offsetHeight/offsetWidth
`offsetHeight`/`offsetWidth` does not work for SVG Elements except in Chrome
and this support is being removed from Chrome soon:

>'SVGElement.offsetWidth' is deprecated and will be removed in M50, around
April 2016. See https://www.chromestatus.com/features/5724912467574784 for
more details.
2016-02-10 17:08:11 -05:00
Bryan Housel 221bf225f1 Reset supersurface transform for Mapillary streetsigns layer
For some reason the foreignObject nodes are not correctly positioned
unless this transform is set to a value.
2016-02-10 01:06:14 -05:00
Bryan Housel bed73a78e3 Fetch all paginated Mapillary results, cleanup thumbnail selection 2016-02-10 01:05:36 -05:00
Bryan Housel 3facc28928 Improve layer transitions, debounce redraws, other goodness 2016-02-09 17:19:06 -05:00
Bryan Housel 9777906711 Cleanup MapillarySignLayer, Mapillary service 2016-02-09 11:57:39 -05:00
Bryan Housel a62f41b611 Cleanup MapillaryImageryLayer, Mapillary service 2016-02-08 23:46:26 -05:00
Bryan Housel c50a290cd1 Add iD.geo.Extent#rectangle 2016-02-08 17:15:30 -05:00
Bryan Housel caf464e3d3 Fetch mapillary data in tiles and cache 2016-02-08 17:14:46 -05:00
Bryan Housel f173441fe3 WIP: Mapillary service 2016-02-08 15:46:37 -05:00
Bryan Housel 524c093f68 Move traffico to asset path, reorganize id.js init after context definition 2016-02-08 14:15:05 -05:00
Bryan Housel a083ae3001 Call service reset functions from iD.flush()
Also fix misspelling nominatum -> nominatim
2016-02-08 12:02:57 -05:00
Bryan Housel 3e65156754 Refactor services 2016-02-08 10:31:34 -05:00
Bryan Housel a9389b6773 update to traffico-release-0.1.26 2016-02-07 23:41:51 -05:00
Bryan Housel 077aa65a29 remove RoundedProjection 2016-02-07 21:32:14 -05:00
Bryan Housel 99972bbc1b Rebase to 1.8.5 and update api keys 2016-02-07 01:05:53 -05:00
Bryan Housel 4ffabf8933 Mapillary code cleanup 2016-02-07 01:05:20 -05:00
Bryan Housel d22a3ea2d0 jshint, style, fix test harness 2016-02-07 01:02:23 -05:00
peterneubauer c1a73b1edc less data for now 2016-02-07 01:02:23 -05:00
peterneubauer 63d4047f02 not zooming, revealing the render bug 2016-02-07 01:02:23 -05:00
peterneubauer 1cf08ec49d removing traffico 2016-02-07 01:02:23 -05:00
peterneubauer 3947053bd7 -testing to fix initial sign render problem 2016-02-07 01:02:22 -05:00
peterneubauer 999870c652 intermediate commit 2016-02-07 01:02:22 -05:00
peterneubauer d970e4463c making click events work 2016-02-07 01:02:22 -05:00
peterneubauer 717d956a30 adding traffico and the sign layer 2016-02-07 01:02:22 -05:00
peterneubauer ea819c0d09 adding a first traffic sign layer, rendering not working properly yet. 2016-02-07 01:02:22 -05:00
Bryan Housel 36a767554c Allow escape to cancel paste
(closes #2889)
2016-02-07 00:46:12 -05:00
Bryan Housel 540700c6ef Accept input and return to browse mode only on preset input fields
(closes #2957, better solution for #2380)
2016-02-06 22:41:30 -05:00
Bryan Housel b1b8d25974 Better fit for 60px preset icons inside area frame
(e.g. pedestrian street mapped as area)
2016-02-06 15:00:47 -05:00
Bryan Housel 83b0a8ca68 No need to make FAQ link translatable
(closes #2973)
2016-02-06 14:05:10 -05:00
Bryan Housel e7a7e2edc5 Adjust styles, constrain tooltip to fit in map-control panel 2016-02-05 00:16:48 -05:00
Bryan Housel 70d808d2f0 Merge branch '2902' of https://github.com/kepta/iD into kepta-2902 2016-02-04 14:41:38 -05:00
Kushan Joshi bf334ed8a3 for "best" imagery
(closes #2902)
2016-02-05 00:59:41 +05:30
Kushan Joshi 4f328f6bfb change http to https
(closes #2960)

Interim
2016-02-04 21:42:38 +05:30
Bryan Housel 57e5f2540c Fix rendering after user clicks "Add field"
(closes #2956)
2016-02-01 13:54:13 -05:00
John Firebaugh 087d5aa65f Ensure that boundary relation members look like boundaries 2016-01-30 13:01:01 -08:00
Kushan Joshi 427d08a7b8 Splitting success.help_html
In ref issue: https://github.com/openstreetmap/iD/issues/2940
2016-01-29 20:32:04 -05:00
Kushan Joshi 459f2929ce Link to wiki for changeset comments
Added the link:http://wiki.openstreetmap.org/wiki/Good_changeset_comments
below the comment box

Issue: https://github.com/openstreetmap/iD/issues/2923
2016-01-29 20:31:19 -05:00
Bryan Housel 7afa0e4ad2 Option to collapse preset fields section
(closes #2894)
2016-01-29 00:40:37 -05:00
Bryan Housel ecb0db7009 Remove inline opacity style after transition complete
(This was causing the raw tag editor to sometimes *not* display
 for fallback presets like "point", "line", "area")
2016-01-29 00:38:59 -05:00
Bryan Housel 649ba856f6 Preset.isFallback() should return true for the area: yes preset 2016-01-29 00:38:33 -05:00
Martin Raifer 9c37ead08d make sure DrawLine mode is called with a clean pre-operation graph
closes #2303
2016-01-26 17:10:04 +01:00
Kushan Joshi 25d652abd1 Use user language for default translated names
Shows the default user language for translated names.
in ref to issue: https://github.com/openstreetmap/iD/issues/2882
2016-01-25 23:43:53 +05:30
John Firebaugh 0d2a742e18 Autocomplete changeset comments from previous changeset comments
Fixes #2002
2016-01-24 12:46:26 -08:00
John Firebaugh 82d1a92b23 Remove unused d3.typeahead module
All use has been replaced with d3.combobox.
2016-01-24 12:45:55 -08:00
Martin Raifer 1c9e7ff1dd drop overly agressive email address character cleanup
email addresses may contain UTF-8 characters in both the local
part and/or domain part (see RFC 6531, RFC 6532, IDN).

refs #2323, #2892
2016-01-24 17:31:58 +01:00
Bryan Housel 274d9df95d Fix crash when selecting a category preset with enter button
(this happens because the datum() is a constructor not a constructed object, and
category presets have state, so calling datum().choose from keypress doesn't work)
2016-01-23 22:50:06 -05:00
Bryan Housel 7aecdda913 Enter should only accept changes if focused on a non-search input field.
(closes #2912)
2016-01-23 22:49:22 -05:00
Kushan Joshi 5b9908d2f6 Removal of faulty regex
In ref to
https://github.com/openstreetmap/iD/issues/2892
2016-01-23 23:57:20 +05:30