Bryan Housel
4289afa6fe
Keep Mapillary viewer loading animation if canvas not yet created
2016-06-07 15:47:20 -04:00
Bryan Housel
f2cde0bfef
Limit number of pages to fetch from Mapillary search API
...
(closes #3149 )
2016-06-06 20:45:30 -04:00
Bryan Housel
30dfdeb3ba
Merge pull request #3128 from openstreetmap/mapillary_js
...
Replace static Mapillary thumbnail with mapillary-js viewer
2016-06-01 00:27:39 -04:00
Bryan Housel
ca79638ecd
Refactor click tracking into Mapillary service, addl cleanups
2016-06-01 00:24:30 -04:00
Bryan Housel
e364b7ec30
Show loading spinner in loadchanged, update selection in nodechanged
2016-05-31 17:16:17 -04:00
Bryan Housel
e57914d77e
WIP: preload viewer when layer enabled, still bad issues with slow load timing
2016-05-30 03:20:43 -04:00
Bryan Housel
6788f7932a
Load mapillary viewer assets dynamically from CDN
2016-05-29 23:07:37 -04:00
Bryan Housel
a99f54b83b
WIP: simplify code, attempt to preload viewer
2016-05-29 15:00:46 -04:00
Bryan Housel
d728059afb
Remove static Mapillary thumbnail image
...
(Viewer object shows the image while loading)
2016-05-28 00:42:35 -04:00
Bryan Housel
0eac0ff862
Don't show thumbnail when hovering over Mapillary markers
2016-05-27 22:43:17 -04:00
Kushan Joshi
f81ff29645
Mapillary Js, second stab
2016-05-25 15:51:36 +05:30
Minh Nguyễn
669cad74f6
Add wikidata asynchronously based on wikipedia
...
ref #2680
2016-05-23 19:16:02 -04:00
peterneubauer
8782c1480d
adding MapillaryJS, first stab.
2016-05-22 11:09:26 +05:30
Bryan Housel
03bb916287
Adjust taginfo values filtering, update tests
2016-04-28 16:59:12 -04:00
Bryan Housel
25862f35e7
Add multikeys taginfo function, filter out values with ';'
2016-04-26 19:37:15 -04:00
Bryan Housel
84edbee26a
Lower popularity thresholds for taginfo lookups
...
https://github.com/openstreetmap/iD/pull/3080#issuecomment-214881846
2016-04-26 16:59:45 -04:00
Bryan Housel
2d987a3ece
Don't fetch overlay tiles or mapillary data around Null Island
...
(closes #2751 )
2016-04-09 23:04:02 -04:00
Bryan Housel
a77e1b6606
Set title attribute for tag keys/values, ensure combo options have title
...
This will show values as hover tooltips, in case the field is too narrow and the value is cut off.
(closes #3054 )
2016-04-08 23:51:16 -04:00
Bryan Housel
78d2d86ff7
Add context.asset for building asset filenames, use it for traffico
...
We were using assetMap/assetPath but only for images, and it was broken anyway
(fixes #3011 )
2016-03-02 23:06:33 -05:00
Bryan Housel
0a238dbfcc
Load traffico stylesheet dynamically
2016-02-17 12:03:51 -05:00
Bryan Housel
7d0d7e0309
Avoid passing context to mapillary service
2016-02-16 15:54:14 -05:00
Bryan Housel
5957adb67d
Dynamically check for existence of Mapillary service
...
This allows us to
1. enable specific parts of Mapillary only for certain browsers
2. remove the Mapillary service completely if desired (closes #2722 )
To remove Mapillary, just set `iD.services.mapillary = null`
or remove the <script> tag that loads mapillary.js.
2016-02-15 16:16:44 -05:00
Bryan Housel
ff5139fc58
Position Mapillary thumbnail on opposite side of map from marker
...
(closes #2775 )
2016-02-14 00:23:18 -05:00
Bryan Housel
272924140c
Partition viewport into regions and cull visible mapillary data
...
This is awesome because it allows mappers to see a subset of the data
at low zoom, but they get more of it as they zoom in.
2016-02-13 13:31:01 -05:00
Bryan Housel
ab6a81e344
Move rtrees to Mapillary service, DRY code, set minZoom to 12
2016-02-11 14:09:18 -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
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
0720b03f66
In Taginfo results sort keys w ':' below keys w/o ':' ( closes #2376 )
2015-12-20 01:12:31 -05:00
Bryan Housel
b892b8c156
Adjust to new taginfo wiki_pages API call ( closes #2844 )
...
Also decouple tag_reference.js from taginfo.js service
(no need to have special callback semantics just to retry the call w/o value)
2015-12-02 11:44:00 -05:00
Bryan Housel
c592acb759
Improve autocompletion for raw tag editor ( closes #2748 )
...
* Don't shorten the user's query
* Drop pouplar key threshold from 10000 to 5000
* Always show key if it has a wiki page (`d.in_wiki`)
2015-09-27 22:39:41 -04:00
M1dgard
41fd5e07d5
Correct coding style
2015-09-08 16:19:55 +02:00
M1dgard
9248ad7d5b
Make raw tag editor show docs for key=value ( closes #2754 )
...
instead of just key.
* Pass the value to iD.ui.TagReference in the `context` function of iD.ui.RawTagEditor
* Let iD.taginfo query the docs for the key when its callback returns false.
* Let the callback function defined inside iD.ui.TagReference return false when both of these are met:
* it isn't happy with the docs results AND
* it was called with its softfail argument set to true.
2015-09-08 12:04:19 +02:00
John Firebaugh
94bc5b0c3d
Don't include geometry filter for taginfo keys query ( #2333 )
2014-08-26 09:46:29 -07:00
Christian Schwarz
16a2449f0a
Use https to access nominatim ( fixes #2281 )
2014-07-10 08:36:40 +02:00
Christian Schwarz
13c1711d68
Switched to Nominatim api for now
2014-06-09 20:22:56 +02: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
69960d75bd
Use https where supported
...
Refs #2129
2014-02-19 09:40:22 -08:00
John Firebaugh
5f7872ba27
Bump taginfo result count to 25
2013-11-19 12:24:29 -08:00
Minh Nguyễn
77c7091cf2
Show relation documentation for relation presets
...
See http://taginfo.openstreetmap.org/taginfo/apidoc#api_4_relation_wiki_pages
Fixes #1862 .
2013-09-30 10:35:00 -07:00
John Firebaugh
6dc3aa269d
Include low-frequency tag values if they have a wiki entry
2013-08-10 10:56:44 -07:00
John Firebaugh
67a194f35f
Fix taginfo caching
2013-05-26 21:30:36 -07:00
John Firebaugh
09c7a7833c
Fix #1433
2013-05-07 19:25:18 -07:00