Skip to content

Instantly share code, notes, and snippets.

@diorahman
Created June 25, 2014 01:34
Show Gist options
  • Save diorahman/323292b289886fbf0244 to your computer and use it in GitHub Desktop.
Save diorahman/323292b289886fbf0244 to your computer and use it in GitHub Desktop.
Peta Rupa Bumi. Menampilkan peta dasar dari layanan SatuPeta Badan Informasi Geospasial Indonesia. Kami berharap mereka akan segara lompat ke "stack" kode sumber terbuka. Informasi sumber data: http://data.ukp.go.id/dataset/rupa-bumi-indonesia dan rilis dengan Web Mercator Auxiliary Sphere tiling scheme (WKID 102100/3857) dan memakai default sca…
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<title></title>
<link rel="stylesheet" href="http://js.arcgis.com/3.9/js/esri/css/esri.css">
<style>
html, body, #map {
height: 100%; width: 100%; margin: 0; padding: 0;
}
</style>
<script src="http://js.arcgis.com/3.9/"></script>
<script>
var map;
require(["esri/map", "esri/layers/ArcGISTiledMapServiceLayer", "dojo/domReady!"],
function(Map, Tiled) {
map = new Map("map");
var tiled = new Tiled("http://geoservices.big.go.id/arcgis/rest/services/RBI/Rupabumi/MapServer");
map.addLayer(tiled);
}
);
</script>
</head>
<body>
<div id="map"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment