Last active
September 11, 2015 23:20
-
-
Save digiltd/f4d3e5599d7e786f7e48 to your computer and use it in GitHub Desktop.
google-maps no-scroll
This file contains hidden or 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 ($("#contact").length) { | |
| function initialize() { | |
| var myLatLong = new google.maps.LatLng(40.7526, -73.9797); | |
| var mapOptions = {center: myLatLong,scrollwheel: false,zoom: 13}; | |
| var map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions); | |
| var marker = new google.maps.Marker({position: myLatLong,map: map,title: "123 Broadway"}); | |
| } | |
| google.maps.event.addDomListener(window, 'load', initialize); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment