ESRI’s API is typically included from a remote server. That looks like:
<script type='text/javascript' src='https://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.8'></script> <link rel='stylesheet' type='text/css' href='https://serverapi.arcgisonline.com/jsapi/arcgis/2.8/js/dojo/dijit/themes/claro/claro.css'>
You’ll also need to add the class claro
to div your map will live in,
so that the ‘claro’ stylesheet affects it.
var url = 'https://api.tiles.mapbox.com/v3/examples.map-vyofok3q.jsonp'; wax.tilejson(url, function(tilejson) { var map = new esri.Map('map-div', { extent: new esri.geometry.Extent(-13686470.64, 5203830.72, -13669270.31, 5215290.28, new esri.SpatialReference({ wkid: 3857 })) }); map.addLayer(new wax.esri.connector(tilejson)); });