Created
September 29, 2014 19:32
-
-
Save gugat/e9dcb44c5a92f48333f1 to your computer and use it in GitHub Desktop.
google maps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function initialize() { | |
var gyeLatLng = new google.maps.LatLng(-2.1705289,-79.919566); | |
var mapOptions = { | |
center: gyeLatLng, | |
zoom: 13 | |
}; | |
var map = new google.maps.Map(document.getElementById('map-canvas'), | |
mapOptions); | |
var marker = new google.maps.Marker({ | |
position: gyeLatLng, | |
map: map, | |
draggable:true | |
}); | |
//google.maps.event.addListener(map, 'click', function(evt) { }); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment