Commit Graph

471 Commits

Author SHA1 Message Date
Bryan Housel
b882ae46bb Add code so tunnel=building_passage doesn't default to layer=-1
(closes #4516)
2017-11-09 14:54:00 -05:00
Bryan Housel
d53637618e Draw selected marker big, fix draw ordering issues, fix close button 2017-11-09 11:27:36 -05:00
Bryan Housel
6dd71ebf91 Fix loading of images from OpenStreetCam API, add viewer
\o/
2017-11-03 16:48:18 -04:00
Bryan Housel
00b30e29f0 WIP: Add OpenStreetCam support
todo: Need to figure out API issue with bbox, then imageviewer
2017-11-02 22:04:47 -04:00
Bryan Housel
a0a197a69e Add support for DigitalGlobe imagery vintage overlays
(see https://github.com/osmlab/editor-layer-index/issues/371)
2017-11-01 13:46:13 -04:00
Bryan Housel
3bcf90d3d6 Let wheel events pass through the "Zoom in to edit" button to the map
(closes #4482)
2017-10-31 10:52:36 -04:00
Colin Kennedy
c81cf703f2 Fix #4443 Imagery only updated on first save 2017-10-15 15:45:53 -04:00
Seth Fitzsimmons
0b770450cd Allow -,_,+,& as hashtag characters 2017-10-09 14:56:49 -04:00
Bryan Housel
8f82caf554 Adjust hashtagRegex: allow '_', change * (0 or more) to + (1 or more) 2017-10-09 14:39:02 -04:00
Bryan Housel
e39911255b Merge pull request #4419 from mojodna/hashtag-regex
Treat punctuation as hashtag delimiters
2017-10-09 14:38:41 -04:00
Bryan Housel
1611a042ba Make sure "Add Field" scrolls into view during Area chapter of walkthrough
(closes #4417)
2017-10-09 12:34:47 -04:00
Seth Fitzsimmons
37cf22e1a2 Treat punctuation as hashtag delimiters
Unicode ranges for punctuation are simpler than creating a Unicode-aware
word class, so delimit on non-words.

Fixes #4398
2017-10-09 10:14:25 -04:00
Juuso Lehtinen
20d5e8a30d Increased preset list max height
Fixes possible overlapping when multiple tag references are expanded.
New max-height 190 px = button 80 px + content 110 px

Closes #4023
2017-10-08 16:13:53 +03:00
Bryan Housel
7a616cc49f Switch to EsriWorldImagery background layer for the tutorial.. 2017-10-06 00:31:28 -04:00
pwelby
7586f7e086 Disable source switcher during walkthrough
Closes #4401 -- fixed as proposed in the issue's comments
2017-10-05 23:53:14 -04:00
Bryan Housel
2b47ac4b3e Replace tunnel_waterway combo with structure_water radio
(closes #4384)

- adds the `layer` field so it works like the structure field on highways
- also defaults the tunnel type to `culvert` for waterways
- also fixed so that `layer` gets removed if user changes types or clicks delete
2017-10-02 11:24:59 -04:00
Bryan Housel
7376787c44 If showing layer= field, add to field.keys so delete will remove it 2017-10-02 09:40:54 -04:00
Bryan Housel
7ba3bf3a45 Don't hard code form-field-structure field name
(radiobox with structure extras can be used for other fields)
2017-10-02 09:26:54 -04:00
Bryan Housel
3d13620705 Convert lodah-es and d3 to named imports for ui 2017-09-26 11:22:43 -04:00
Bryan Housel
31aec5743c Convert lodah-es and d3 to named imports for ui/panels 2017-09-26 00:41:15 -04:00
Bryan Housel
d296c26fcc Convert lodah-es and d3 to named imports for ui/intro 2017-09-26 00:27:21 -04:00
Bryan Housel
6d65a1c89a Convert lodah-es and d3 to named imports for ui/fields 2017-09-26 00:17:13 -04:00
Bryan Housel
ccf452acf6 Replace tag documentation when tag has changed
(closes #4209)
2017-09-20 10:35:25 -04:00
Bryan Housel
0edcc9d328 Adjust feature tooltip message when OSM layer is hidden
(re: https://github.com/openstreetmap/iD/issues/4292#issuecomment-330588097)
2017-09-19 17:08:31 -04:00
Bryan Housel
7b9af48c4d If any part of an address is present, allow fallback to "Address" preset
(closes #4353)
2017-09-19 16:55:18 -04:00
Bryan Housel
5a8709bc67 Treat osm layer like other vector layers and give it a toggle
(closes #2904)
2017-09-18 22:03:34 -04:00
Bryan Housel
8a384a9666 Zoom to Edit notice should be based only on zoom, not on editable 2017-09-18 22:03:01 -04:00
Bryan Housel
fc9fbbe390 Disable mode buttons on leading and trailing debounce 2017-09-18 22:01:33 -04:00
Bryan Housel
9fa1b567a0 Disable Undo/Redo when map is not editable
(closes #4358)
2017-09-18 22:00:35 -04:00
Bryan Housel
595053621b Wrap request review UI in div and label
(closes #4354)
2017-09-18 14:10:14 -04:00
Bryan Housel
2c53674c38 Use dark style for zoom in message now that it's not on sidebar 2017-09-17 00:38:38 -04:00
Bryan Housel
320f1430fa Merge branch 'zoom-to-edit' of https://github.com/leegenes/iD into leegenes-zoom-to-edit 2017-09-17 00:01:50 -04:00
Bryan Housel
202354508e Use file blobs instead of data uri for saving
(This seems to be an easier path to IE11/Edge support)
2017-09-16 22:39:52 -04:00
Bryan Housel
2edc37b74e Leave out the changeset_id when downloading osmChange file
per https://github.com/openstreetmap/iD/pull/4350#discussion_r139261887
2017-09-15 20:04:42 -04:00
Bryan Housel
82494750ef Cleanup code, detect download support (alternate flow for IE, Edge) 2017-09-15 16:39:50 -04:00
Bryan Housel
a43b1e3c0a WIP: fix download changes on save conflicts screen 2017-09-14 22:25:17 -04:00
Bryan Housel
8c9aae1499 Add download changes link to uiCommitChanges summary
(WIP: still need to check IE11 and fix download on conflict screen)
2017-09-14 17:35:06 -04:00
Bryan Housel
1fcceeb0e8 Move string processing into background_source 2017-09-12 17:02:17 -04:00
Bryan Housel
75fcb892f8 Fix show/hide of list items 2017-09-12 15:32:23 -04:00
Bryan Housel
6addbba340 reorganize metadata object, change display of meters 2017-09-12 14:51:01 -04:00
Bryan Housel
6eb392f147 Merge branch 'esri-vintage' of https://github.com/jgravois/iD into jgravois-esri-vintage 2017-09-12 09:45:18 -04:00
Bryan Housel
59f1df902d When showing a field, set its default value if it has one
This allows universal fields or other standalone fields to have a default value.
This didn't work before becuase default values were only handled by
preset.applyTags() / preset.removeTags().
2017-09-11 15:16:02 -04:00
john gravois
5f341366e7 display additional metadata from Esri World Imagery
* getVintage() becomes getMetadata()
* ignore a couple unrelated lint nags
* add source description, resolution and accuracy info to debug panel
2017-09-11 09:51:07 -07:00
Bryan Housel
0f153d7d55 Ignore URLish fragments when detecting hashtags in changeset comment
(closes #4289)
2017-09-11 12:11:22 -04:00
Bryan Housel
ba8a1e6bc6 Several changes to avoid storing stale hashtags
(closes #4304)

- remove context.storage hashtags whenever hashtags are detected in comment.
- when changing the comment, override hashtags with any found in comment.
2017-09-11 11:50:59 -04:00
Bryan Housel
9719a31c79 Match less punctuation in hashtags
(closes #4303)
2017-09-11 09:55:29 -04:00
jgravois
7521369ece add support for displaying esri metadata 2017-09-09 21:59:07 -07:00
Bryan Housel
f034092b44 Write post-save count, not pre-save count to the changesets_count tag
(closes #4283)
2017-08-26 15:46:56 -04:00
Lee Haugen
978abafa33 Include zoom to edit notice over map 2017-08-25 15:19:27 -05:00
Lee Haugen
af7dcb8d4e Remove zoom to edit notice 2017-08-25 15:18:28 -05:00