Last active
December 23, 2015 14:39
-
-
Save brunob/6650273 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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Leaflet-plugins Google Tile</title> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.css" /> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.ie.css" /> | |
<script src="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.js"></script> | |
<script src="http://maps.google.com/maps/api/js?v=3.2&sensor=false"></script> | |
<script type="text/javascript" src="https://rawgithub.com/shramov/leaflet-plugins/master/layer/tile/Google.js"></script> | |
</head> | |
<body> | |
<div style="width:500px; height:500px" id="map"></div> | |
<script type='text/javascript'> | |
var map = new L.Map('map', {center: new L.LatLng(53.9618, 58.4277), zoom: 13}); | |
var ggl = new L.Google(); | |
map.addLayer(ggl); | |
</script> | |
</body> | |
</html> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment