Subversion Repositories eFlore/Applications.cel

Rev

Rev 1096 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1096 Rev 1342
Line 113... Line 113...
113
 
113
 
114
function rafraichirCarte() {
114
function rafraichirCarte() {
115
	var points = [];
115
	var points = [];
116
	var bounds = new google.maps.LatLngBounds();
116
	var bounds = new google.maps.LatLngBounds();
117
	for (var i = 0; i < stations.stats.communes; ++i) {
117
	for (var i = 0; i < stations.stats.communes; ++i) {
118
		var maLatLng = new google.maps.LatLng(stations.points[i].coord_x, stations.points[i].coord_y);
118
		var maLatLng = new google.maps.LatLng(stations.points[i].latitude, stations.points[i].longitude);
119
		var pointImage = new google.maps.MarkerImage(pointImageUrl, new google.maps.Size(24, 32));
119
		var pointImage = new google.maps.MarkerImage(pointImageUrl, new google.maps.Size(24, 32));
120
		var point = new google.maps.Marker({
120
		var point = new google.maps.Marker({
121
			position: maLatLng,
121
			position: maLatLng,
122
			map: map,
122
			map: map,