Skip to content

Instantly share code, notes, and snippets.

@abuabdul
Last active February 21, 2016 18:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abuabdul/5c2cef9c9e4aaadc7926 to your computer and use it in GitHub Desktop.
Save abuabdul/5c2cef9c9e4aaadc7926 to your computer and use it in GitHub Desktop.
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