Skip to content

Commit 0a8741d

Browse files
committed
Merge branch 'master' into design/initial
* master: Upgrade to ruby-2.0.0-p247 Add test for html email for authority comment notification. Include test for multiple paragraphs Update newrelic agent for extra features Use maps client id if it is available for maps api use Move list of assets to precompile over to application.rb so it is available even when production.rb is overridden Actually make it possible to use maps api v3 in production Use google maps api v3 (via mapstraction) and add satelite option to map Applied fix for googlev3 controls not showing from mapstraction/mxn#257 Updated to Mapstraction v 2.0.18 (and added googlev3 support) don't need our own backported geokit anymore. Can use a release version Conflicts: config/environments/production.rb
2 parents 29bdaea + 568764d commit 0a8741d

17 files changed

Lines changed: 832 additions & 700 deletions

File tree

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby-1.8.7-p370
1+
ruby-2.0.0-p247

Gemfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ gem "jquery-ui-rails"
2020

2121
gem "capistrano"
2222
gem "haml"
23-
# Latest release of geokit at this time (1.6.5) doesn't yet contain support for Google Maps Business API
24-
# and HEAD of the project has broken Ruby 1.8 support so backported the Google Maps Business API changes
25-
# on to geokit 1.6.5.
26-
gem "geokit", :git => "https://github.com/mlandauer/geokit.git", :branch => "back_port_google_maps_business_api"
23+
gem "geokit"
2724
gem "nokogiri"
2825
gem "foreigner"
2926
gem 'httparty'

Gemfile.lock

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
GIT
2-
remote: https://github.com/mlandauer/geokit.git
3-
revision: a541ba216b8004e82e66d57b68dca2e27cf47ab7
4-
branch: back_port_google_maps_business_api
5-
specs:
6-
geokit (1.6.5)
7-
multi_json
8-
91
GIT
102
remote: https://github.com/openaustralia/atdis.git
113
revision: 9122c9dd4d930ad2deee1da5df5f10cc7700b888
@@ -147,6 +139,8 @@ GEM
147139
actionpack (>= 3.0)
148140
fssm (0.2.10)
149141
geocoder (1.1.6)
142+
geokit (1.6.7)
143+
multi_json (>= 1.3.2)
150144
guard (1.6.2)
151145
listen (>= 0.6.0)
152146
lumberjack (>= 1.0.2)
@@ -199,7 +193,7 @@ GEM
199193
polyamorous (~> 0.5.0)
200194
method_source (0.8.1)
201195
mime-types (1.25)
202-
multi_json (1.8.0)
196+
multi_json (1.8.1)
203197
multi_xml (0.5.3)
204198
multipart-post (1.2.0)
205199
mysql2 (0.3.11)
@@ -210,7 +204,7 @@ GEM
210204
net-ssh (2.6.6)
211205
net-ssh-gateway (1.2.0)
212206
net-ssh (>= 2.6.5)
213-
newrelic_rpm (3.5.8.72)
207+
newrelic_rpm (3.6.8.164)
214208
nokogiri (1.5.6)
215209
oj (2.1.4)
216210
orm_adapter (0.4.0)
@@ -370,7 +364,7 @@ DEPENDENCIES
370364
foreigner
371365
formtastic
372366
geocoder
373-
geokit!
367+
geokit
374368
guard
375369
guard-livereload
376370
guard-rspec

app/assets/javascripts/maps.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
function initialiseMaps(latitude, longitude, address) {
2-
var map = new mxn.Mapstraction("map_div","google");
2+
var map = new mxn.Mapstraction("map_div","googlev3");
33
point = new mxn.LatLonPoint(latitude, longitude);
44
map.setCenterAndZoom(point,16);
5-
map.addControls({ zoom: 'small' });
5+
map.addControls({ zoom: 'small', map_type: true });
66
marker = new mxn.Marker(point)
77
marker.setLabel(address);
88
map.addMarker(marker);

0 commit comments

Comments
 (0)