forked from MapComplete/MapComplete
Refactoring: moved pointRenderingConfig into seperate part of the configuration, removed roaming rendering capabilities
This commit is contained in:
parent
584ade8e61
commit
1852eb8e52
74 changed files with 1868 additions and 193 deletions
|
@ -21,8 +21,13 @@ export default class SplitRoadWizard extends Toggle {
|
|||
private static splitLayerStyling = new LayerConfig({
|
||||
id: "splitpositions",
|
||||
source: {osmTags: "_cutposition=yes"},
|
||||
icon: {render: "circle:white;./assets/svg/scissors.svg"},
|
||||
iconSize: {render: "30,30,center"},
|
||||
mapRendering: [
|
||||
{
|
||||
location: ["point"],
|
||||
icon: {render: "circle:white;./assets/svg/scissors.svg"},
|
||||
iconSize: {render: "30,30,center"}
|
||||
}
|
||||
],
|
||||
}, "(BUILTIN) SplitRoadWizard.ts", true)
|
||||
|
||||
public dialogIsOpened: UIEventSource<boolean>
|
||||
|
@ -61,7 +66,7 @@ export default class SplitRoadWizard extends Toggle {
|
|||
miniMap.installBounds(BBox.get(roadElement).pad(0.25), false)
|
||||
|
||||
// Define how a cut is displayed on the map
|
||||
|
||||
|
||||
// Datalayer displaying the road and the cut points (if any)
|
||||
new ShowDataLayer({
|
||||
features: new StaticFeatureSource(splitPoints, true),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue