flammarion 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
data/lib/flammarion/version.rb
CHANGED
@@ -1148,7 +1148,9 @@ L.GeoSearch.Provider.OpenStreetMap = L.Class.extend({
|
|
1148
1148
|
format: 'json'
|
1149
1149
|
}, this.options);
|
1150
1150
|
|
1151
|
-
|
1151
|
+
var protocol = location.protocol == "file:" ? "http:" : location.protocol;
|
1152
|
+
|
1153
|
+
return protocol
|
1152
1154
|
+ '//nominatim.openstreetmap.org/search'
|
1153
1155
|
+ L.Util.getParamString(parameters);
|
1154
1156
|
},
|
@@ -275,7 +275,9 @@ L.GeoSearch.Provider.OpenStreetMap = L.Class.extend({
|
|
275
275
|
format: 'json'
|
276
276
|
}, this.options);
|
277
277
|
|
278
|
-
|
278
|
+
var protocol = location.protocol == "file:" ? "http:" : location.protocol;
|
279
|
+
|
280
|
+
return protocol
|
279
281
|
+ '//nominatim.openstreetmap.org/search'
|
280
282
|
+ L.Util.getParamString(parameters);
|
281
283
|
},
|
@@ -21,7 +21,9 @@ L.GeoSearch.Provider.OpenStreetMap = L.Class.extend({
|
|
21
21
|
format: 'json'
|
22
22
|
}, this.options);
|
23
23
|
|
24
|
-
|
24
|
+
var protocol = location.protocol == "file:" ? "http:" : location.protocol;
|
25
|
+
|
26
|
+
return protocol
|
25
27
|
+ '//nominatim.openstreetmap.org/search'
|
26
28
|
+ L.Util.getParamString(parameters);
|
27
29
|
},
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flammarion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.13
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-10-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rubame
|