Permalink
Browse files

Add geo data for three carts and a marker at the current location

  • Loading branch information...
1 parent a275f85 commit 80d2c314d4a13033239dd41de173b6e2660dcad9 @leto leto committed Apr 4, 2011
Showing with 10 additions and 0 deletions.
  1. +10 −0 index.html
View
@@ -12,6 +12,11 @@
var initialLocation;
var siberia = new google.maps.LatLng(60, 105);
var newyork = new google.maps.LatLng(40.69847032728747, -73.9514422416687);
+
@imcraig

imcraig Apr 4, 2011

Owner

This is showing me what was added to the document right ? everything between the + signs..

@leto

leto via email Apr 4, 2011

Collaborator
+var cartopia = new google.maps.LatLng(45.512431,-122.65332); /// 12th and se hawthorne ,"cartopia"
+var pod0 = new google.maps.LatLng(45.519934,-122.674499); // 3rd and sw washington
+var pod1 = new google.maps.LatLng(45.521143,-122.676215); // 5th and sw stark
+
var browserSupportFlag = new Boolean();
var map;
var infowindow = new google.maps.InfoWindow();
@@ -54,6 +59,11 @@
browserSupportFlag = false;
handleNoGeolocation(browserSupportFlag);
}
+ var marker = new google.maps.Marker({
+ position: initialLocation,
+ map: map,
+ title: "You are here",
+ });
}
function handleNoGeolocation(errorFlag) {

0 comments on commit 80d2c31

Please sign in to comment.