refinerycms-map 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/map_locations/_map.html.erb +1 -1
- data/lib/map.rb +1 -1
- metadata +3 -3
@@ -1,7 +1,7 @@
|
|
1
1
|
<div id="googlemap" style="width:<%= width %>px; height:<%= height %>px;"></div>
|
2
2
|
|
3
3
|
<%= javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" %>
|
4
|
-
<%= javascript_include_tag "http://maps.google.com/maps?file=api&v=2&key
|
4
|
+
<%= javascript_include_tag "http://maps.google.com/maps?file=api&v=2&key=#{RefinerySetting.find_or_set(:google_maps_api_key, '')}" %>
|
5
5
|
<%= javascript_include_tag "mapiconmaker.js" %>
|
6
6
|
<%= javascript_include_tag "markermanager.js" %>
|
7
7
|
<%= javascript_include_tag "jquery.metadata.js" %>
|
data/lib/map.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinerycms-map
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Envy Labs
|