Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Docs (popup): improve map example

  • Loading branch information...
commit 4db80a84ac443e4037a3b90a6f92dc2c6872f45c 1 parent 834716f
@jaspermdegroot jaspermdegroot authored
Showing with 0 additions and 9 deletions.
  1. +0 −9 docs/pages/popup/map.html
View
9 docs/pages/popup/map.html
@@ -12,15 +12,6 @@
mapTypeId: google.maps.MapTypeId.ROADMAP
}
var map = new google.maps.Map( document.getElementById( "map_canvas" ), myOptions );
- var marker = new google.maps.Marker({
- position: myLatlng,
- map: map,
- title: "University of Westminster"
- });
- // center the map and the marker when the size of the canvas changes
- google.maps.event.addListener( map, 'bounds_changed', function() {
- map.panTo( myLatlng );
- });
}
</script>
<script src="http://maps.google.com/maps/api/js?sensor=false"></script>
Please sign in to comment.
Something went wrong with that request. Please try again.