We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f98712c commit 1a7d1e7Copy full SHA for 1a7d1e7
leaflet-hash.js
@@ -1,4 +1,4 @@
1
-var L = require('leaflet');
+import L from 'leaflet';
2
3
(function(window) {
4
main.js
@@ -1,9 +1,8 @@
/*jslint browser: true*/
/*global Tangram, gui */
+import Tangram from 'tangram';
5
import leafletHash from './leaflet-hash.js';
-var Tangram = require('tangram');
6
-L.Icon.Default.imagePath = 'node_modules/leaflet/dist/images/';
7
8
var map = (function () {
9
'use strict';
0 commit comments