Browse files

changed event map default location to match checkin

  • Loading branch information...
1 parent 4c1364a commit b3ceb1ccf9301bea4d3d0a4b5d42f2481a5c14f9 @ProCynic ProCynic committed Apr 14, 2012
Showing with 7 additions and 7 deletions.
  1. +1 −1 public/javascripts/checkin.js
  2. +6 −6 public/javascripts/event.js
View
2 public/javascripts/checkin.js
@@ -17,7 +17,7 @@ function initialize() {
mapTypeId: google.maps.MapTypeId.ROADMAP
};
map = new google.maps.Map(document.getElementById('map_canvas'),
- mapOptions);
+ mapOptions);
var input = document.getElementById('searchTextField');
var autocomplete = new google.maps.places.Autocomplete(input);
View
12 public/javascripts/event.js
@@ -18,13 +18,13 @@ function codeAddress() {
function initialize() {
geocoder = new google.maps.Geocoder();
- var latlng = new google.maps.LatLng(-34.397, 150.644);
- var myOptions = {
- zoom: 12,
- center: latlng,
+ var mapOptions = {
+ center: new google.maps.LatLng(30.2733,-97.7421),
+ zoom: 13,
mapTypeId: google.maps.MapTypeId.ROADMAP
- }
- map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
+ };
+ map = new google.maps.Map(document.getElementById('map_canvas'),
+ mapOptions);
codeAddress()
}
google.maps.event.addDomListener(window, 'load', initialize);

0 comments on commit b3ceb1c

Please sign in to comment.