Martin Raifer
edb7c3b0f2
only fetch vegbilder layers if they are needed
...
i.e. when enabling the respective street-side photo layer
2023-08-02 16:35:57 +02:00
Martin Raifer
d7902e1388
only show regional street-level photo providers in the available region
...
and disable selection checkbox if not zoomed in enough to load the photos
2023-08-02 16:35:56 +02:00
Martin Raifer
13300026e3
Merge branch 'develop' into vegbilder
2023-08-01 17:09:21 +02:00
Martin Raifer
806388f16e
Merge branch 'vegbilder' of github.com:noenandre/iD into vegbilder
2023-08-01 17:05:29 +02:00
Martin Raifer
ad1162dd17
fix panning in mapilio 360° images
2023-08-01 16:55:41 +02:00
Martin Raifer
a481361bf3
Merge remote-tracking branch 'mapilio/add_mapilio_data' into develop
2023-08-01 16:15:55 +02:00
Noenandre
f3bf7dbf4d
Reorder execution of init.
...
Set "on" binding before awaiting cache reset.
Set "wfslayers" to a empty map
immediately on reset.
2023-07-23 14:16:19 +02:00
Noenandre
4d44eedb3d
Too set autoLoad to false when adding a scene,
...
seems too fix "Uncaught TypeError: Cannot set properties of undefined".
2023-07-23 00:37:27 +02:00
sezerbozbiyik
c70abfa3d1
added zoom, photo hash-parameter and some fixes
2023-07-21 14:47:26 +03:00
sezerbozbiyik
d35aff7ebb
Merge branch 'develop' into add_mapilio_data
2023-07-21 14:40:58 +03:00
Martin Raifer
7b622e040b
Merge branch 'develop' into vegbilder
2023-07-20 17:21:45 +02:00
Martin Raifer
d0e061c472
don't hardcode padding constanst, add changelog
2023-07-20 17:15:21 +02:00
Martin Raifer
59734d1725
fix panning/zooming on resized KartaView images
2023-07-20 16:51:15 +02:00
sezerbozbiyik
a84ba59678
Added change image forward and backward feature
2023-07-17 10:52:10 +03:00
sezerbozbiyik
4616cd302f
fixed pano screen and changed map layers name
2023-07-13 17:49:23 +03:00
sezerbozbiyik
04581bd7c3
Merge branch 'develop' into add_mapilio_data
2023-07-12 15:15:20 +03:00
Martin Raifer
ea054a00a5
fix bug in "lang=badvalue" handling for wikidata api
...
see https://github.com/openstreetmap/iD/pull/9638#issuecomment-1623497481
2023-07-07 12:49:55 +02:00
Martin Raifer
9595e997e9
Merge branch 'develop' into addr_place
2023-05-26 20:37:54 +02:00
sezerbozbiyik
9876e92377
add hover and click event
2023-05-26 18:16:49 +03:00
sezerbozbiyik
4761536504
Merge branch 'develop' into add_mapilio_data
2023-05-26 16:17:07 +03:00
sezerbozbiyik
d92afe3dc7
add point and line
2023-05-24 18:08:24 +03:00
sezerbozbiyik
7c90e2d6af
first commit
2023-05-24 14:54:56 +03:00
Martin Raifer
96c2670727
we can still use the full language for output (uselang)
2023-05-23 16:15:11 +02:00
Martin Raifer
862ca6522a
retry wikidata api without lng's region subtag if an error is returned
...
closes #9638
2023-05-23 16:13:40 +02:00
Martin Raifer
9779f320a8
Properly handle case sensitive tags in taginfo suggestion in raw tag editor, fixes #9640
2023-05-16 17:06:39 +02:00
Martin Raifer
026737909f
implement special address field for addr:street/addr:place
2023-04-28 16:36:05 +02:00
Martin Raifer
406c1a0690
bump streetview generation id to work around #9230
...
this is not a permanent fix; as explained in https://github.com/openstreetmap/iD/issues/8747#issuecomment-945669204 we should upgrade to Bing streetview's v8 API calls. Unfortunately, our API key is not enabled for that API, though.
closes #9230
2023-04-04 12:59:58 +02:00
Noenandre
ddc9c6c674
Remove a global module variable "_availableLayers"; move information to cache.
...
Add new test "fetches available layers".
2023-03-25 17:27:41 +01:00
Noenandre
508c4d1e37
Split a promise into two.
2023-03-15 18:16:21 +01:00
Noenandre
c7c130dae1
Use nullish coalescing operator where it makes sense.
2023-03-15 18:15:32 +01:00
Noenandre
a2a1fdc58a
Tests for service/vegbilder is as comprehensive as similar providers.
2023-03-15 18:13:50 +01:00
Noenandre
4c6f3621f2
Use last calculated missing heading for null vectors.
2023-03-09 16:45:49 +01:00
Noenandre
2d74e4fde5
Small bugfix.
2023-03-09 16:39:06 +01:00
Noenandre
e33279bb4a
Create a new zoom behaviour when the image size potentially change.
2023-03-09 16:38:02 +01:00
Noenandre
fcbdee0aed
Attempt to fix plane photoviewer.
2023-03-06 13:29:44 +01:00
Noenandre
c824fe1937
Create sequences for each (wfs)layer instead of for all points at once. Rearrange cache.
2023-03-04 14:04:02 +01:00
Noenandre
15f4438fad
More info and localization in attribution bar.
2023-03-03 19:24:33 +01:00
Kyℓe Hensel
a17b5faf5f
Send 'Accept-Language' header on Nominatim API calls ( #9501 )
2023-03-03 18:34:24 +01:00
Noenandre
255c80d341
Test for init and reset methods on service.
...
Bugfix for reset.
Adjusted expectation of number of svg layers.
2023-03-03 16:43:54 +01:00
Noenandre
9a7f473f20
Removed a variable, renamed a property.
2023-03-03 12:39:34 +01:00
Noenandre
ab2985d985
Fix zoom for plane photos. TODO: set translateExtent correctly.
2023-03-03 12:36:29 +01:00
Noenandre
58cceb03c2
Split concern for panoramic and flat photos to own module.
2023-03-03 01:29:55 +01:00
Noenandre
75dba4b6c7
Filter sequences too.
2023-02-22 21:30:55 +01:00
Noenandre
dbf8b9cec6
Estimate image direction (azimuth) if missing.
2023-02-22 14:33:38 +01:00
Noenandre
b8eb110a8f
Order sequences by time, primarily, and not linear reference.
2023-02-21 23:22:47 +01:00
Noenandre
98975e064b
Implemented image filtering.
2023-02-14 14:31:35 +01:00
Noenandre
990cab5856
Fetch available WFS image layers from OWS server. Use maps in cache, instead of objects.
2023-02-14 12:40:34 +01:00
Noenandre
5522338716
Rename pannellum-streetside dist folder to pannellum, since Pannellum isn't used by just Bing Streetside anymore.
...
TODO: Pannellum is loaded twice.
2023-02-14 12:25:43 +01:00
Noenandre
a2c56b7d4f
Initial work for new street level photo provider "Vegbilder" from the Norwegian Public Roads Administration.
2023-02-14 12:15:55 +01:00
Martin Raifer
41aa127d23
reduce use of parseFloat
...
as it silently strips non-numeric suffixes (e.g. a value of "123 foo" is transformed into a numeric value of 123 by `parseFloat`, which is typically not what we desire)
2022-11-24 19:39:15 +01:00