kmz_compressor 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35d265512b97cdba60b41965e1a8ac9af574aacc
|
4
|
+
data.tar.gz: f4d9e0e0ba30a9d48496e80e7ce057f7e9fbd2b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 006f1e8935a5d679966523a9784e52a826ae0095f1daad9708184babbc2fc54b2521abbe239fc302ba062133dbd6b1a85bb6066ff872c33637fd13a198c3ef5a
|
7
|
+
data.tar.gz: 99fbbd7a4c272269078fa4dcf51b06ee1ac78330b499e6b0129c3e04d4626921bb3c5445b02d7d3d5d5079e69cceb61c4d6f61e5c76633ea21ab63b4b97e9fba
|
@@ -1,9 +1,9 @@
|
|
1
1
|
window.MapLayerManager = function(map){
|
2
2
|
var map = map;
|
3
|
-
var host =
|
3
|
+
var host = location.protocol + "//" + location.host
|
4
4
|
var layers = []
|
5
|
-
var loadingCount = 0 // How many layers are being
|
6
|
-
var requestTimestamps = {
|
5
|
+
var loadingCount = 0 // How many layers are being loaded
|
6
|
+
var requestTimestamps = {}
|
7
7
|
var layerLoadingEventName = 'map:layerLoading'
|
8
8
|
var layerLoadedEventName = 'map:layerLoaded'
|
9
9
|
|
@@ -235,5 +235,5 @@ window.MapLayerManager = function(map){
|
|
235
235
|
|
236
236
|
// PUBLIC INTERFACE
|
237
237
|
|
238
|
-
return {cacheAndLoadKMLLayer:cacheAndLoadKMLLayer, loadKMLLayer:loadKMLLayer, centerWhenLoaded:centerWhenLoaded, addLayer:addLayer, removeLayer:removeLayer, map:map}
|
238
|
+
return {cacheAndLoadKMLLayer:cacheAndLoadKMLLayer, loadKMLLayer:loadKMLLayer, centerWhenLoaded:centerWhenLoaded, addLayer:addLayer, removeLayer:removeLayer, map:map, loadingCount:loadingCount}
|
239
239
|
}
|