2gis-maps
Version:
Interactive 2GIS maps API, based on Leaflet
31 lines (29 loc) • 863 B
HTML
<html>
<head>
<meta charset='utf-8'>
<title>geoclicker demo</title>
<script src="http://maps.api.2gis.dev/2.0/loader.js"></script>
<style type="text/css">
html,body { height: 100%; margin: 0; padding: 0; }
#map { width: 100%; height: 100%; }
</style>
</head>
<body>
<div id="map"></div>
<script type="text/javascript">
DG.then(function () {
map = new DG.Map('map', {
center: new DG.LatLng(54.980206086231, 82.898068362003),
zoom: 18,
key: DG.config.key || 'Your API access key',
geoclicker: {
showPhotos: true,
showBooklet: true,
showRouteSearch: true
}
});
});
</script>
</body>
</html>