Skip to content

Instantly share code, notes, and snippets.

@apetov
Created March 31, 2018 07:06
Show Gist options
  • Save apetov/26c1bfbca5bd225fc280de6e0fe48db6 to your computer and use it in GitHub Desktop.
Save apetov/26c1bfbca5bd225fc280de6e0fe48db6 to your computer and use it in GitHub Desktop.
// ...
import { MapMode } from './map-mode';
var mapMode = new MapMode();
// Changed tileUrl to dynamic variable
let tileUrl = mapMode.tileUrl;
const attribution = mapMode.attribution;
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment