Martin Raifer
3ab0378ec3
fix test
2025-04-29 16:06:28 +02:00
Kyℓe Hensel
6f16060a78
mass-replace done() function with async/await ( #10781 )
2025-02-17 13:10:04 +01:00
Kyℓe Hensel
1c5b3b4051
use a more visible colour for oneway arrows on dark lines ( #9143 )
2025-01-15 11:38:36 +01:00
Kyℓe Hensel
fb8b969c3f
fix non-integer layer tag causing invisible features ( #9933 )
2025-01-15 11:35:18 +01:00
Martin Raifer
e195947509
Merge branch 'develop' into panoramax
2024-07-12 18:22:53 +02:00
mattiapezzotti
a9d8da10d1
prepared for pr
2024-07-12 00:01:05 +02:00
arch0345
14794ee992
Remove references to ImproveOSM
2024-07-08 17:15:38 -07:00
Martin Raifer
97442403cf
drop validator which checks for old style multipolygons
...
these have long been [fixed](https://blog.jochentopf.com/2017-08-28-polygon-fixing-effort-concluded.html ) in OSM
see wiki: https://wiki.openstreetmap.org/wiki/Old_style_multipolygons
2024-02-29 13:28:22 +01:00
Martin Raifer
77f31cad07
fix tests
2023-08-09 18:39:24 +02:00
Martin Raifer
066686ac1a
fix test
2023-08-02 17:33:17 +02:00
Martin Raifer
13300026e3
Merge branch 'develop' into vegbilder
2023-08-01 17:09:21 +02:00
sezerbozbiyik
1a8ba8e356
fixed test error
2023-05-27 01:11:34 +03: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
Martin Raifer
f6e4596b59
remove now unneeded refrences to and workarounds for phantomJS
2022-02-03 13:12:00 +01:00
Martin Raifer
6e6becb4e4
add test for geojson sanitation of non-string properties
2021-11-23 13:35:05 +01:00
Martin Raifer
25d4ff100f
rename all openstreetcam references to kartaview
...
closes #8807
2021-11-16 17:42:53 +01:00
Bryan Housel
33fab5580b
Before calling init() make sure the assetPath is set
...
init kicks off building the ui, which can fetch spritesheets for the <defs>
The assetPath needs to be set otherwise these files will not be found
2021-08-16 22:06:42 -04:00
Nikola Plesa
fe1aabbf31
fix: unit tests
2020-08-03 14:08:10 +02:00
Quincy Morgan
a1af118f0e
Ensure locales and presets are loaded before the UI loads ( close #7406 )
...
Consolidate localization behavior and init to a coreLocalizer function and singleton
Explicitly support `en-US` locale
Rename coreData to coreFileFetcher and export a singleton rather than using a property of coreContext
Add `apiConnections` property of coreContext to simplify adding a source switcher
Replace some init functions with re-callable, promise-supporting `ensureLoaded` functions
Make coreContext itself load the UI if a container has been specified at init time
Fix code tests
2020-03-31 12:23:31 -07:00
Quincy Morgan
85ce071704
Render "semi-paved" roads like cobblestone, paving stones, and wood with a solider line than unpaved roads ( close #7466 )
2020-03-26 19:26:29 -07:00
Quincy Morgan
e391edcc5c
Namespace various internal SVG ids under ideditor (re: #7445 )
2020-03-22 14:39:40 -07:00
Quincy Morgan
c893147e15
Convert some element ids to classes to avoid collisions when embedding iD
2020-03-20 13:53:17 -07:00
Bryan Housel
13ead25654
Merge branch 'external_presets' into 2.x
...
(re: #4994 )
2020-02-05 21:32:51 -05:00
Bryan Housel
0fe766d9a4
WIP on external presets
...
- preset data is no longer bundled into iD.js
- some code pathways commented out re: external presets
- many changes so that tests can run without presets at start, or async
- still need to make sure fallbacks are always there (point, line, area, etc)
2020-02-05 09:38:26 -05:00
SilentSpike
e11d97b38c
Add Osmose QA layer and service
...
Initial implementation - need to add UI for the errors and correctly set
up support for the desired error types provided by osmose.
2020-02-03 23:01:01 +00:00
Bryan Housel
e19bcb77d5
Require init() call before coreContext starts doing things
...
(closes #7304 )
2020-01-29 19:27:12 -05:00
Quincy Morgan
8818bf1b1c
Fix code tests to represent moved multipolygon line classes behavior
2019-12-11 18:05:26 -05:00
Matias Volpe
8e616d7384
feat: add Mapillary Map Features layer
2019-08-22 15:16:31 -03:00
Bryan Housel
344aec206c
Support special styling for wikidata-tagged features
2019-05-18 23:57:23 -04:00
Quincy Morgan
7d0080a642
Persist the photo overlay layers via the URL query string (re: #5813 )
2019-03-14 16:48:08 -04:00
Bryan Housel
6be72709d5
Adjust tag_classes perimeter overrides to style barriers as lines
...
(closes #5761 )
2019-02-02 11:52:23 -05:00
SilentSpike
5030346257
Update data layers test
2019-02-01 22:51:00 +00:00
Bryan Housel
71b2d2c6b7
Upgrade legacy symbols in tests
...
- iD.Context -> iD.coreContext
- iD.Graph -> iD.coreGraph
- iD.Node -> iD.osmNode
- iD.Way -> iD.osmWay
- iD.Relation -> iD.osmRelation
2019-01-30 15:43:02 -05:00
Bryan Housel
7138acc652
Properly export areaKeys, fix preset and maprules tests
2019-01-30 15:29:37 -05:00
Bryan Housel
ca2d4e2c34
Fix layer test
2018-12-19 17:31:55 -05:00
Bryan Housel
2deadd5d6c
Fix merge issues
2018-12-19 17:12:06 -05:00
Thomas Hervey
75cff00a2a
displaying keep right (currently as notes)
2018-12-19 13:18:37 -05:00
Max Grossman
399e7781c1
remove dispatched changes and re-order layers
...
ref #5587
2018-12-19 11:54:39 -05:00
Max Grossman
b010f42125
update layers test for new geolocate svg layer
...
ref #5587
2018-12-19 11:14:03 -05:00
Huon Wilson
dd0be84da4
Add one-sided triangular markers to ways with sides (e.g. natural=cliff).
...
This generalizes the oneway arrow logic for adding SVG markers along a
line. Using that functionality, certain tags get arrows on their
right-hand side, indicating which side is "inside", e.g. the
right-side of a cliff is the lower side.
The list of tags considered to be sided (unless there's a
two_sided=yes tag) is:
- natural=cliff
- natural=coastline
- barrier=retaining_wall
- barrier=kerb
- barrier=guard_rail
- barrier=city_wall
- man_made=embankment
The triangles attempt to be reminiscent of the triangles used for
rendering cliffs on OSM (and elsewhere). The different tags get
different renderings (e.g. colors that match the main way, and
different spacings). In addition, natural=coastline is special-cased
to have blue markers (despite having a green way), to emphasise that
the "inside" of a coastline is the water.
Fixes https://github.com/openstreetmap/iD/issues/1475 .
2018-11-28 01:45:50 +11:00
Huon Wilson
f356c6ac49
test: add tests for adding oneway arrows to lines
2018-11-28 01:25:04 +11:00
Bryan Housel
3bc841e95b
Adjust layer ordering to draw touch targets above data layers
2018-11-09 21:48:45 -05:00
Bryan Housel
3e03102731
Simplify unpaved tag class logic, add tests
...
(re: #5422 )
2018-10-31 16:13:03 -04:00
Bryan Housel
5368aa1972
Update data layer tests to check for both shadow and stroke paths
2018-08-25 11:30:06 -04:00
Bryan Housel
0f07393fb3
Fix data file tests (in both phantom and real browsers)
2018-08-23 11:11:14 -04:00
Bryan Housel
575c98ab28
Accept both file and vector tile url templates from settings screen
2018-08-21 01:25:24 -04:00
Bryan Housel
4b446e9e78
WIP merge 'gpx' and 'mvt' layers into single 'data' layer
2018-08-17 13:03:07 -04:00
Bryan Housel
4c9ef45448
Merge pull request #5149 from vershwal/mvt_test
...
Some mvt tests.
2018-07-17 01:15:28 -04:00
Bryan Housel
73d0f30453
Merge branch 'notes'
2018-07-16 16:59:35 -04:00
vershwal
213fa3706d
Created new file for pbf test in test/data.
2018-07-16 22:10:59 +05:30