Skip to content

Commit

Permalink
Merge pull request #134 from bcgov/qa
Browse files Browse the repository at this point in the history
misc fixes.
  • Loading branch information
dkelsey authored Apr 2, 2020
2 parents e79ac2c + 278cd96 commit ed750df
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 18 deletions.
10 changes: 10 additions & 0 deletions config/key/route-planner.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"tools": [
{
"type": "directions",
"routePlannerService": {
"apiKey": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}
]
}
3 changes: 1 addition & 2 deletions config/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@
"vehicleType": false
},
"routePlannerService": {
"url": "https://router.api.gov.bc.ca/",
"apiKey": "11dd756f680c47b5aef5093d95543738"
"url": "https://router.api.gov.bc.ca/"
},
"geocoderService": {
"url": "https://geocoder.api.gov.bc.ca/",
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ <h3 id="package-build-date" title="?">
truckWeight: defaultVehicle.weight,
} ]
},
'./config/key/route-planner.json',
'?'
],
} ).then( function () {
Expand Down
2 changes: 1 addition & 1 deletion layers/dangerous-goods-restrictions/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
{
"title": "Link",
"format": "asLink( this.feature.properties.Link, 'Link' )"
"format": "asHTML( this.feature.properties.Link )"
},
{
"name": "Notes",
Expand Down
24 changes: 12 additions & 12 deletions lib/smk.js

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions print-directions-portrait.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
}

article {
position: relative;
/* this change seems to fix the slow print preview */
/* position: relative; */
overflow: hidden;

height: 8.5in;
width: 6.85in;
margin: auto;
Expand Down Expand Up @@ -275,7 +278,7 @@
v-content="overview"
></div>

<div class="page-number">Page 1 of {{ pages.length + 1 }}</div>
<!-- <div class="page-number">Page 1 of {{ pages.length + 1 }}</div> -->
</section>
</div>
</article>
Expand Down Expand Up @@ -336,7 +339,7 @@
</div>
</div>

<div class="page-number">Page {{ page.index + 1 }} of {{ pages.length + 1 }}</div>
<!-- <div class="page-number">Page {{ page.index + 1 }} of {{ pages.length + 1 }}</div> -->
</section>
</div>
</article>
Expand Down

0 comments on commit ed750df

Please sign in to comment.