Adjust indent

This commit is contained in:
Tim Schaub
2018-03-17 14:24:22 -06:00
parent 0ddd5622ec
commit 25da233921
3 changed files with 4 additions and 8 deletions

View File

@@ -30,8 +30,7 @@ const styleFunction = function(feature) {
scale = size / 10;
let style = styleCache[size];
if (!style) {
const canvas =
/** @type {HTMLCanvasElement} */ (document.createElement('canvas'));
const canvas = /** @type {HTMLCanvasElement} */ (document.createElement('canvas'));
const vectorContext = toContext(
/** @type {CanvasRenderingContext2D} */ (canvas.getContext('2d')),
{size: [size, size], pixelRatio: 1});