check-in bower_components
This commit is contained in:
parent
4cc16bccd0
commit
9e08e74132
101 changed files with 90960 additions and 0 deletions
24
bower_components/leaflet-plugins/examples/yandex.html
vendored
Normal file
24
bower_components/leaflet-plugins/examples/yandex.html
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Leaflet</title>
|
||||
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" />
|
||||
<script src="http://cdn.leafletjs.com/leaflet-0.7/leaflet.js"></script>
|
||||
<script src="http://api-maps.yandex.ru/2.0/?load=package.map&lang=ru-RU" type="text/javascript"></script>
|
||||
<script src="../layer/tile/Yandex.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div style="width:100%; height:100%" id="map"></div>
|
||||
<script type='text/javascript'>
|
||||
var map = new L.Map('map', {center: new L.LatLng(67.6755, 33.936), zoom: 10, zoomAnimation: false });
|
||||
var osm = new L.TileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png');
|
||||
var yndx = new L.Yandex();
|
||||
var ytraffic = new L.Yandex("null", {traffic:true, opacity:0.8, overlay:true});
|
||||
|
||||
map.addLayer(osm);
|
||||
map.addLayer(ytraffic);
|
||||
map.addControl(new L.Control.Layers({'OSM':osm, "Yandex":yndx},
|
||||
{"Traffic":ytraffic}));
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue