Commit Graph

6799 Commits

Author SHA1 Message Date
Martin Raifer d7ad3bc39e improve autozooming on non-gpx background data layers
old implementation only worked for points and linestrings, but geojson and kml can contain any geometry.

aso, d3 is a bit special[1] when working with geojson polygons: it does require clockwise winding, but typical geojson is either counterclockwise winding (RFC7946) or "winding doesn't matter" (old geojson.org spec). When inputing such geojson (or kml) input, iD would zoom out all the way, which is not the intended behavior.

[1] https://github.com/d3/d3-geo#d3-geo
2017-02-06 18:04:20 +01:00
Martin Raifer ff4bf2597d fix regression in background layer loading from URL
fixes #3820
2017-02-06 15:08:13 +01:00
Bryan Housel 2120ab4706 Adjust preset icon stroke/fill for living street 2017-02-05 16:37:21 -05:00
Bryan Housel 84433f46ac Use barrier icon instead of roadblock for noexit 2017-02-05 16:32:02 -05:00
Wille Marcel 9cd1284389 add preset for shop=watches 2017-02-05 13:02:02 -02:00
Wille Marcel 110c7ec12e add living street to Road category 2017-02-05 12:50:57 -02:00
Wille Marcel 1f525db8ed add preset to noexit=yes 2017-02-05 12:29:21 -02:00
Bryan Housel eba1e4c9b2 Thanks slhh! 2017-02-04 10:57:07 -05:00
Bryan Housel f68945f8df Add a few missed items for Changelog v2.1.0 2017-02-04 08:36:35 -05:00
Bryan Housel 0e330152b8 2.1.0 2017-02-04 01:07:25 -05:00
Bryan Housel eb711e2cca npm run imagery 2017-02-04 01:07:14 -05:00
Bryan Housel 868d1a129e npm run translations 2017-02-04 01:07:04 -05:00
Bryan Housel 34cc6eb581 Update CHANGELOG for v2.1.0 2017-02-04 01:06:54 -05:00
greenkeeperio-bot 78efb0c47f chore(package): update eslint to version 3.15.0
https://greenkeeper.io/
2017-02-03 23:42:42 -05:00
Bryan Housel a6093ad5e0 Fix picnic_site icon, switch some building icon to home icon 2017-02-03 01:12:51 -05:00
Bryan Housel ff1b16c769 Improve tests for line joins in walkthrough
(closes #3695)
2017-02-02 21:50:57 -05:00
Bryan Housel 645d44e53c Merge pull request #3813 from Zverik/notary
Add notary preset
2017-02-02 16:26:39 -05:00
Bryan Housel d7416b2d0c Fix nominatim / geocoder test
(closes #3767)
2017-02-02 16:00:45 -05:00
Bryan Housel bc39bbf2d6 Object.assign not supported on IE11 or PhantomJS, use _.assign 2017-02-02 16:00:19 -05:00
Bryan Housel 0419230321 Use common apibase for search and countryCode 2017-02-02 15:55:52 -05:00
Ilya Zverev cf2a4720c3 Add notary preset 2017-02-02 21:12:49 +03:00
Bryan Housel 65d49c87bb Accept geojson files with .json extension 2017-02-01 23:08:36 -05:00
Bryan Housel af333dea2b Merge branch 'feature-x' of https://github.com/mertemin/iD into mertemin-feature-x 2017-02-01 22:58:17 -05:00
Bryan Housel 3b46f1c83f Warn on untagged relations
(re #3812)
2017-02-01 14:41:41 -05:00
Mert Emin Kalender 7b17145775 Add support for kml and geojson 2017-01-31 21:38:59 -08:00
Bryan Housel 8d191cd34a More careful address div selection to avoid data binding combobox caret
(closes #3715)
2017-01-31 15:10:20 -05:00
Bryan Housel 68d28b2ad5 Styling for construction preset icon area 2017-01-30 13:22:12 -05:00
Bryan Housel bd069786bb Add ellipsis to category names 2017-01-30 13:12:09 -05:00
Bryan Housel efa424bd7a Cleanup icons and fix RTL for preset categories 2017-01-30 13:04:31 -05:00
Bryan Housel c9f8b3d386 Cleanup icons and fix RTL for Help pane navigation 2017-01-30 09:51:31 -05:00
Bryan Housel b9b7ef9748 Suppress menu when selecting entity from member/membership editor 2017-01-29 21:27:39 -05:00
greenkeeperio-bot b4e0862119 chore(package): update d3 to version 4.5.0
https://greenkeeper.io/
2017-01-29 21:08:25 -05:00
Bryan Housel bc1193c347 Make sure nodes can be dragged too, not just vertices
(fixes bug introduced in 0440054)
2017-01-29 17:23:34 -05:00
Bryan Housel f93e57b97d Use #map.node() for drag surface instead of svg #surface
This is because #surface can be transformed during a partial redraw
and d3.mouse() returns transformed point, not the real screen point.
https://github.com/d3/d3-selection/blob/a2cf4f32ec2a88196c9f992e34ec23aec589f797/src/point.js#L4-L9
2017-01-29 17:11:55 -05:00
Bryan Housel 31dcabc8f8 Actually move the dragged point while nudging 2017-01-29 17:01:36 -05:00
Bryan Housel 6c062fb312 WIP: improve edge to support diagonal nudges, redraws on nudge
(working on #3594 today)
2017-01-28 15:51:23 -05:00
Bryan Housel 5c4b99827a Remove padding to avoid line wrapping Save button
(closes #3803)
2017-01-27 16:28:24 -05:00
Bryan Housel 71141550a1 Show change count by save button after switching language 2017-01-27 14:53:21 -05:00
Bryan Housel 0440054cd9 Child and sibling vertices should be eligible for drag_node
(closes #3799, see also #3801)
2017-01-27 13:02:27 -05:00
Bryan Housel 6677d15c44 Fix distracting typo 2017-01-27 10:57:53 -05:00
Bryan Housel fecff193e2 Merge pull request #3798 from openstreetmap/language-debugging
Add _tkeys_ language for translation debugging
2017-01-27 10:00:38 -05:00
popov ad06e341ad do not use tabs 2017-01-27 09:54:08 -05:00
popov 56dbebd0b6 fix array concat 2017-01-27 09:54:01 -05:00
popov a2f9f51ee6 Allow to drag a node when a parent relation is selected 2017-01-27 09:53:52 -05:00
Bryan Housel df63b680e5 Improve visibility of school preset-icon-frame 2017-01-27 09:47:07 -05:00
Bryan Housel ca409966db Watch for mousemove/mouseup on window, not selection
(closes #3800)
2017-01-26 16:29:49 -05:00
Bryan Housel 2ab4e592c9 Add _tkeys_ language for translation debugging 2017-01-26 12:00:03 -05:00
Bryan Housel 348b355e37 Refresh icons, Add save icon, navigation icons
(closes #3777)
2017-01-26 00:01:52 -05:00
Bryan Housel 99594c19e6 Fix spinner position when UI is RTL *and spin it backwards*
(closes #3794)
2017-01-25 11:44:10 -05:00
Bryan Housel d0ee1579e9 Roads should be connected to other roads 2017-01-25 11:19:44 -05:00