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
vershwal
0b32f4c4ee
Some mvt tests.
2018-07-15 22:20:43 +05:30
Bryan Housel
4fda478f57
Merge branch 'check' of https://github.com/vershwal/iD into vershwal-check
2018-07-09 09:32:15 -04:00
Bryan Housel
de12396654
Fix projection so the map is where the point is
...
Also remove gj redundancy
2018-07-08 00:50:26 -04:00
vershwal
73ac628880
gpx tests.
2018-07-04 19:56:51 +05:30
Bryan Housel
9517635d4d
Merge branch 'master' into notes
2018-06-29 21:54:24 -04:00
Bryan Housel
76d21c8293
stub test/spec/svg/gpx.js
2018-06-29 02:23:42 -04:00
Thomas Hervey
1ed915e69c
added: map data notes toggle
2018-06-19 10:31:26 -04:00
vershwal
7919f59a53
Fixed test file layers.js.
2018-06-18 01:30:21 +05:30
Bryan Housel
d24790f17a
Merge branch 'master' into jharpster-streetside
2018-06-11 23:51:23 -04:00
Bryan Housel
470835b38f
Extract all graphics from iD sprite, reassemble with svg-sprite
...
All iD sprite graphics are now prefixed with `iD-`
Also includes support for sending the preset logos to taginfo
2018-06-08 16:06:46 -04:00
Shawna Paradee
2b50d36f65
adding points for streetside images
2018-03-20 13:05:33 -07:00
Bryan Housel
de488e252f
Draw covered/underground lines beneath areas
...
(closes #4718 )
2018-01-22 15:06:58 -05:00
Bryan Housel
2e2b037e36
Move a bunch of commonly used vector and projection math functions into geo
...
- geoVecAdd
- geoVecSubtract
- geoVecScale
- geoZoomToScale
- geoScaleToZoom
2017-12-18 15:05:42 -05:00