gmpoint 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/assets/javascripts/locations.js.coffee +6 -2
- data/gmpoint.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.8
|
@@ -5,10 +5,14 @@ window.initJsMap = ->
|
|
5
5
|
window.geopoint_search_map($("#gmpoint_location_address"))
|
6
6
|
$("#geopoint_search_box_container input").keypress (e) ->
|
7
7
|
if e.keyCode == 13 # enter
|
8
|
-
window.geopoint_search_map($(@))
|
8
|
+
window.geopoint_search_map($(@))
|
9
|
+
|
10
|
+
zoom = $('.data-location').data('zoom')
|
11
|
+
if $("#gmpoint_location_address").val() == ""
|
12
|
+
zoom = 11
|
9
13
|
opts =
|
10
14
|
center: new google.maps.LatLng($('.data-location').data('latitude'), $('.data-location').data('longitude'))
|
11
|
-
zoom:
|
15
|
+
zoom: zoom
|
12
16
|
mapTypeId: google.maps.MapTypeId.ROADMAP
|
13
17
|
|
14
18
|
|
data/gmpoint.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gmpoint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -150,7 +150,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
150
150
|
version: '0'
|
151
151
|
segments:
|
152
152
|
- 0
|
153
|
-
hash:
|
153
|
+
hash: 3118332894487614668
|
154
154
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
155
155
|
none: false
|
156
156
|
requirements:
|