Skip to content

Commit

Permalink
route kleur, default view, typo 'minimaal'
Browse files Browse the repository at this point in the history
  • Loading branch information
anneb committed Dec 19, 2024
1 parent bf4e0fe commit db3c2a5
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion maps/casgis.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"datacatalog": [
{
"type": "group",
"title": "Historische Vereniging Castricum",
"title": "Stichting Oud Castricum",
"sublayers": [
{
"title": "casgis",
Expand Down
2 changes: 1 addition & 1 deletion src/components/map-datatool-distance.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class MapDataToolDistance extends LitElement {
_renderLayerList() {
const layers = this.map.getStyle().layers.filter(layer=>layer.metadata && !layer.metadata.reference && !layer.metadata.isToolLayer && ['fill','line','circle','symbol'].includes(layer.type));
if (layers.length < 2) {
return html`${layers.length} kaartlagen aanwezig (minimmaal 2 nodig)`;
return html`${layers.length} kaartlagen aanwezig (minimaal 2 nodig)`;
}
return html`<div class="styled-select"><select @change="${e=>this._layerSelected(e)}">
<option value="" disabled selected>Selecteer kaartlaag</option>
Expand Down
4 changes: 2 additions & 2 deletions src/components/map-datatool-filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class MapDatatoolFilter extends LitElement {
render() {
const layers = this.map.getStyle().layers.filter(layer=>layer.metadata && !layer.metadata.reference && !layer.metadata.isToolLayer && ['fill','line','circle','symbol'].includes(layer.type));
if (layers.length < 1) {
return html`${layers.length} kaartlagen aanwezig (minimmaal 1 nodig)`;
return html`${layers.length} kaartlagen aanwezig (minimaal 1 nodig)`;
}
return html`
<div id="form">
Expand Down Expand Up @@ -212,7 +212,7 @@ class MapDatatoolFilter extends LitElement {
_renderLayerList() {
const layers = this.map.getStyle().layers.filter(layer=>layer.metadata && !layer.metadata.reference && !layer.metadata.isToolLayer && ['fill','line','circle','symbol'].includes(layer.type));
if (layers.length < 1) {
return html`${layers.length} kaartlagen aanwezig (minimmaal 1 nodig)`;
return html`${layers.length} kaartlagen aanwezig (minimaal 1 nodig)`;
}
return html`<label for="layerselect">Invoerlaag</label><div class="styled-select"><select id="layerselect" @change="${e=>this._layerSelected(e)}">
<option value="" disabled selected>Selecteer kaartlaag</option>
Expand Down
2 changes: 1 addition & 1 deletion src/components/map-datatool-intersect.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class MapDatatoolIntersect extends LitElement {
_renderLayerList() {
const layers = this.map.getStyle().layers.filter(layer=>layer.metadata && !layer.metadata.reference && !layer.metadata.isToolLayer && ['fill','line','circle','symbol'].includes(layer.type));
if (layers.length < 2) {
return html`${layers.length} kaartlagen aanwezig (minimmaal 2 nodig)`;
return html`${layers.length} kaartlagen aanwezig (minimaal 2 nodig)`;
}
return html`<div class="styled-select"><select @change="${e=>this._layerSelected(e)}">
<option value="" disabled selected>Selecteer kaartlaag</option>
Expand Down
2 changes: 1 addition & 1 deletion src/components/map-datatool-route.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ class MapDatatoolRoute extends LitElement {
attribution: 'TomTom'
},
paint: {
'line-color': '#888',
'line-color': '#0f53ff',
'line-width': 8
},
layout: {
Expand Down
6 changes: 3 additions & 3 deletions src/components/web-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,11 @@ class WebMap extends LitElement {
this.mapstyle = rootUrl + "styles/openmaptiles/osmbright.json";
this.mapstyleid = "OsmBright";
this.mapstyletitle = "OSM bright (stijl)";
this.lon = 4.5458;
this.lat = 51.9397;
this.lon = 5.327;
this.lat = 52.191;
this.displaylat = this.lat;
this.displaylng = this.lon;
this.zoom = 13;
this.zoom = 7;
this.resolution = 0;
this.navigation = "false";
this.zoomlevel = "false";
Expand Down
2 changes: 1 addition & 1 deletion src/locales/nl/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"Map Layer 1": "Kaartlaag 1",
"Map layer outside current view": "Kaartlaag buiten kaartbeeld",
"Map layers": "Kaartlagen",
"Map layers available (at least 1 required)": "kaartlagen aanwezig (minimmaal 1 nodig)",
"Map layers available (at least 1 required)": "kaartlagen aanwezig (minimaal 1 nodig)",
"Map projection": "Kaartprojectie",
"map projections not supported by this viewer": "kaartprojecties niet ondersteund door deze viewer",
"Map view angle": "Kijkhoek",
Expand Down

0 comments on commit db3c2a5

Please sign in to comment.