Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 80d2c314d4a13033239dd41de173b6e2660dcad9 1 parent a275f85
@leto leto authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 index.html
View
10 index.html
@@ -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 Owner
imcraig added a note

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

@leto Collaborator
leto added a note
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+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) {
Please sign in to comment.
Something went wrong with that request. Please try again.