Skip to content

Instantly share code, notes, and snippets.

@ahmadazimi
Last active February 5, 2019 15:34
Show Gist options
  • Save ahmadazimi/bf873a1fe98f2cd49d8f76263e34c0b6 to your computer and use it in GitHub Desktop.
Save ahmadazimi/bf873a1fe98f2cd49d8f76263e34c0b6 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Neshan Map Example (Leaflet)</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://static.neshan.org/sdk/leaflet/1.3.3/leaflet.css" rel="stylesheet" type="text/css">
<script src="https://static.neshan.org/sdk/leaflet/1.3.3/leaflet.js" type="text/javascript"></script>
</head>
<body>
<div id="map" style="width: 600px; height: 450px; background: #eee; border: 2px solid #aaa;"></div>
<script type="text/javascript">
var myMap = new L.Map('map', {
key: 'YOUR_API_KEY',
center: [35.699739, 51.338097],
zoom: 14
});
myMap.setMapType('dreamy');
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment