Skip to content
Snippets Groups Projects
Commit ae697653 authored by Winnie's avatar Winnie
Browse files

Update

parent 3d0208a7
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
// When the user clicks the marker, an info window opens
function initInfo(lati, longi,info) {
for(int i=0; i < lati.length; i++){
for(var i=0; i < lati.length; i++){
// Generate map centred at Great Lakes
var map = new google.maps.Map(document.getElementById('map'), {
......
......@@ -61,7 +61,7 @@ function changeOpacity() {
// Input latitude and longitude into map points
function getPoints(latitude, longitude) {
var result = [];
for (int i = 0 ; i < latitude.length ; i++) {
for (var i = 0 ; i < latitude.length ; i++) {
result.push( new google.maps.LatLng(latitude[i], longitude[i]));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment