Created
December 30, 2013 14:17
-
-
Save sorabh86/8182550 to your computer and use it in GitHub Desktop.
Google-Map
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
<snippet> | |
<content><![CDATA[ | |
<script src="https://maps.googleapis.com/maps/api/js?sensor=false"></script> | |
<script> | |
function initialize() { | |
var map_canvas = document.getElementById('map_canvas'); | |
var map_options = { | |
center: new google.maps.LatLng(44.5403, -78.5463), | |
zoom: 8, | |
mapTypeId: google.maps.MapTypeId.ROADMAP | |
} | |
var map = new google.maps.Map(map_canvas, map_options) | |
} | |
google.maps.event.addDomListener(window, 'load', initialize); | |
</script> | |
]]></content> | |
<tabTrigger>gm</tabTrigger> | |
<scope>text.html</scope> | |
<description>Google-map</description> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment