var Area = Backbone.View.extend({
	el: '#load',

	initialize: function(){
		//this.getLocation();
		this.canvasId = 'map';
		this.area = '<h2>Area of BAC</h2><div id="'+this.canvasId+'"></div>';
	},

	render: function(){
		this.$el.html(this.area);
		//this.getLocation();
		this.createMap(this.lat, this.lng);
		//google.maps.event.addDomListener(window, 'load', this.createMap);
		
	},

	createMap: function(lat, lng){
		//var mlat = lat;
		//var mlong = lng;
		//alert(lat+' '+lng);
		var mapOptions = {
			center: new google.maps.LatLng(40.7430473, -74.1777488),
			//center: new google.maps.LatLng(mlat, mlng),
			zoom: 15
		}
		var map = new google.maps.Map(document.getElementById(this.canvasId), mapOptions);
	},

	getLocation: function(){
		if(navigator.geolocation){
			navigator.geolocation.getCurrentPosition(this.setLatLng);
		}else{
			alert('Either you have no internet connection or your browser is not supported');
		}
	},

	setLatLng: function(position){
		return this.lat = position.coords.latitude;
		return this.lng = position.coords.longitude;
		console.log(this.lat+' '+this.lng);
	},

	throwErr: function(){
		alert('Cannot get coords');
	}

});
@@ -251,26 +251,24 @@
 s.area);%0D%0A%09%09
-//
 this.getLoca
@@ -274,24 +274,80 @@
 ation();%0D%0A%09%09
+console.log(this.lat+' '+this.lng+' - Confirmed');%0D%0A%09%09//
 this.createM
@@ -831,34 +831,139 @@
 %0D%0A%09%09
-if(navigator.geolocation)%7B
+console.log('Test - getGeolocation');%0D%0A%09%09if(navigator.geolocation)%7B%0D%0A%09%09%09//navigator.geolocation.getCurrentPosition(this.setLatLng);
 %0D%0A%09%09
@@ -1161,31 +1161,60 @@
 sition)%7B%0D%0A%09%09
-return 
+console.log('Test - setLatLng');%0D%0A%09%09
 this.lat = p
@@ -1245,51 +1245,124 @@
 %0D%0A%09%09
-return this.lng = position.coords.longitude
+console.log('Test - setLatLng-lat');%0D%0A%09%09this.lng = position.coords.longitude;%0D%0A%09%09console.log('Test - setLatLng-lng')
 ;%0D%0A%09

Check Stackoverflow for answer