Hi,
I did what exactly was recommended in html and javascript.
however it did not work.
even a simple application sample application for showing a message when the app started
did not work. i must be doing something wrong
i copied the touch library
i have index.html,
app.js in the root directory
i adjusted html file to reflect the scenario.
what does '.' in the mean, i would think it is the root directory of app.
i know that i am definitely missing some thing.can anyone help with this
i thought that i might get help by specifying the config and code that i used to figure out what i have been doing wrong. i do see blank screen when i access this application
can you pl let me know what i am doing wrong
thanks
in the root folder i have a folder 'touch' which contains the touch library.
the html in root directory contains 2 files
1) index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>GeoTweets</title>
// Update the tweets in timeline
timeline.update(data);
// Add points to the map
for (var i = 0, ln = data.length; i < ln; i++) {
var tweet = data[i];
// If the tweet is geo-tagged, use that to display marker
if (tweet.geo && tweet.geo.coordinates) {
var position = new google.maps.LatLng(tweet.geo.coordinates[0], tweet.geo.coordinates[1]);
addMarker(tweet, position);
}
}
}
});
};
// These are all Google Maps APIs
var addMarker = function(tweet, position) {
var marker = new google.maps.Marker({
map: map.map,
position: position
});
};