Last active
February 21, 2016 18:14
-
-
Save abuabdul/5c2cef9c9e4aaadc7926 to your computer and use it in GitHub Desktop.
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
if( $('#mylocationmap').length ) { | |
var map; | |
map = new GMaps({ | |
el: '#mylocationmap', | |
lat: 12.890982, | |
lng: 80.201864, | |
scrollwheel: true, | |
zoom: 15, | |
zoomControl : true, | |
panControl : true, | |
streetViewControl : true, | |
mapTypeControl: true, | |
overviewMapControl: true, | |
clickable: true | |
}); | |
map.addMarker({ | |
lat: 12.890982, | |
lng: 80.201864, | |
animation: google.maps.Animation.DROP, | |
verticalAlign: 'bottom', | |
horizontalAlign: 'center', | |
backgroundColor: '#3e8bff', | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment