leaflet-zoomfs-rails 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  module Leaflet
2
2
  module Zoomfs
3
3
  module Rails
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.1"
5
5
  end
6
6
  end
7
7
  end
@@ -4,9 +4,9 @@
4
4
  * https://github.com/elidupuis/leaflet.zoomfs
5
5
  */
6
6
  L.Control.ZoomFS = L.Control.Zoom.extend({
7
- options: {
8
- onlyfs: false
9
- },
7
+ //options: {
8
+ // onlyfs: false
9
+ //},
10
10
  includes: L.Mixin.Events,
11
11
  onAdd: function (map) {
12
12
  var zoomName = 'leaflet-control-zoom',
@@ -23,7 +23,7 @@ L.Control.ZoomFS = L.Control.Zoom.extend({
23
23
  partName + '-top',
24
24
  container, this.fullscreen, this);
25
25
 
26
- if (!this.options.onlyfs) {
26
+ //if (!this.options.onlyfs) {
27
27
  this._zoomInButton = this._createButton('+', 'Zoom in',
28
28
  zoomName + '-in ' +
29
29
  partName + ' ',
@@ -34,7 +34,7 @@ L.Control.ZoomFS = L.Control.Zoom.extend({
34
34
  partName + ' ' +
35
35
  partName + '-bottom',
36
36
  container, this._zoomOut, this);
37
- }
37
+ //}
38
38
 
39
39
  map.on('zoomend zoomlevelschange', this._updateDisabled, this);
40
40
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leaflet-zoomfs-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: