jquery-geolocateMap-rails 0.2 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +1 -0
- data/README.markdown +1 -1
- data/app/assets/javascripts/jquery.geolocateMap.js +4 -3
- data/lib/jquery-geolocatemap-rails/version.rb +1 -1
- metadata +3 -5
- data/app/.DS_Store +0 -0
- data/app/assets/.DS_Store +0 -0
data/.gitignore
CHANGED
data/README.markdown
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# jquery-geolocateMap-rails
|
|
2
2
|
|
|
3
|
-
jquery-geolocateMap-rails integrates geolocateMap jquery plugin to Rails 3.1 Asset Pipeline (Rails 3.2 supported)
|
|
3
|
+
jquery-geolocateMap-rails integrates [geolocateMap jquery plugin](http://github.com/icalialabs/https://github.com/IcaliaLabs/jquery.geolocateMap) to Rails 3.1 Asset Pipeline (Rails 3.2 supported)
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -146,10 +146,11 @@
|
|
|
146
146
|
}, function(result, status) {
|
|
147
147
|
var map, position;
|
|
148
148
|
position = result[0].geometry.location;
|
|
149
|
-
map =
|
|
149
|
+
map = _this.gmark.getMap();
|
|
150
150
|
map.setCenter(position);
|
|
151
151
|
map.setZoom(15);
|
|
152
|
-
|
|
152
|
+
_this.set_position(position);
|
|
153
|
+
return google.maps.event.trigger(_this.gmark, 'dragend');
|
|
153
154
|
});
|
|
154
155
|
});
|
|
155
156
|
}
|
|
@@ -195,6 +196,6 @@
|
|
|
195
196
|
|
|
196
197
|
})();
|
|
197
198
|
|
|
198
|
-
version = 0.1;
|
|
199
|
+
version = "0.2.1";
|
|
199
200
|
|
|
200
201
|
}).call(this);
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jquery-geolocateMap-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -39,8 +39,6 @@ files:
|
|
|
39
39
|
- LICENSE.txt
|
|
40
40
|
- README.markdown
|
|
41
41
|
- Rakefile
|
|
42
|
-
- app/.DS_Store
|
|
43
|
-
- app/assets/.DS_Store
|
|
44
42
|
- app/assets/javascripts/jquery.geolocateMap.js
|
|
45
43
|
- jquery-geolocatemap-rails.gemspec
|
|
46
44
|
- lib/jquery-geolocatemap-rails.rb
|
|
@@ -59,7 +57,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
59
57
|
version: '0'
|
|
60
58
|
segments:
|
|
61
59
|
- 0
|
|
62
|
-
hash:
|
|
60
|
+
hash: -461548909724584079
|
|
63
61
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
62
|
none: false
|
|
65
63
|
requirements:
|
|
@@ -68,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
68
66
|
version: '0'
|
|
69
67
|
segments:
|
|
70
68
|
- 0
|
|
71
|
-
hash:
|
|
69
|
+
hash: -461548909724584079
|
|
72
70
|
requirements: []
|
|
73
71
|
rubyforge_project: jquery-geolocateMap-rails
|
|
74
72
|
rubygems_version: 1.8.24
|
data/app/.DS_Store
DELETED
|
Binary file
|
data/app/assets/.DS_Store
DELETED
|
Binary file
|