Skip to content

Instantly share code, notes, and snippets.

@abuabdul
Created December 28, 2015 10:56
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/7511aa77fe43304f87d2 to your computer and use it in GitHub Desktop.
Save abuabdul/7511aa77fe43304f87d2 to your computer and use it in GitHub Desktop.
if( $('#gmap').length ) {
var map;
map = new GMaps({
el: '#gmap',
lat: 8.7021245,
lng: 77.7093673,
scrollwheel:false,
zoom: 17,
zoomControl : false,
panControl : false,
streetViewControl : false,
mapTypeControl: false,
overviewMapControl: false,
clickable: false
});
map.addMarker({
lat: 8.7021245,
lng: 77.7093673,
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