Skip to content

Instantly share code, notes, and snippets.

@odoe
Created July 27, 2015 15:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save odoe/abafbc77f32ecae939eb to your computer and use it in GitHub Desktop.
Save odoe/abafbc77f32ecae939eb to your computer and use it in GitHub Desktop.
require([
"esri/Map",
"esri/views/MapView",
"esri/views/SceneView",
"dojo/domReady!"
], function (Map, MapView, SceneView){
// one map, 2 views
var map = new Map({
basemap: "streets"
});
var s_view = new SceneView({
container: "sceneDiv",
map: map,
scale: 240000000
});
var m_view = new MapView({
container: "viewDiv",
map: map,
zoom: 5,
center: [-118, 35.5]
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment