api.tiles.mapbox.com/v1/
api.tiles.mapbox.com/v1/albums.json
api.tiles.mapbox.com/v1/albums.jsonp
o | size | |
---|---|---|
clipper.o | 99285 | |
csscolorparser.o | 15870 | |
sprite_image.o | 1249 | |
sprite_parser.o | 30229 | |
sprite_store.o | 5905 | |
circle_buffer.o | 587 | |
collision_box_buffer.o | 675 | |
debug_font_buffer.o | 5583 | |
elements_buffer.o | 864 |
{ _type: 'OpenLayers.Layer.StyleWriter' | |
, _value: | |
[ 'Support US drone strikes' | |
, 'http://ndi1.live.mapbox.com/tile/${mapfile}/${z}/${x}/${y}.${format}' | |
, { projection: [Object] | |
, maxExtent: [Object] | |
, type: 'png' | |
, symbolizer: 'polygon' | |
, value_field: 'date' | |
, name_field: 'assumed_target' |
/* River lines */ | |
.river::line { color: #acf; } | |
/* I am guessing as to the meaning of the CLASS column. | |
* This style appears mostly correct */ | |
.river::line[zoom=7][CLASS=1] { width: 0.1; } | |
.river::line[zoom=8][CLASS=1] { width: 0.2; } | |
.river::line[zoom=9][CLASS=1] { width: 0.4; } |
var makeMaps = function () { | |
var mm = com.modestmaps; | |
m = new mm.Map('map', new com.modestmaps.WaxProvider({ | |
baseUrl: 'http://a.tiles.mapbox.com/mapbox/', | |
layerName: 'world-glass', | |
zoomRange: [4, 8] | |
})); | |
m.setCenterZoom( | |
new com.modestmaps.Location(37, -97), 5); | |
<html> | |
<head> | |
<title>Wax.G Layer Switcher</title> | |
<script src='http://maps.google.com/maps/api/js?sensor=false' type='text/javascript'></script> | |
<script src='http://www.geosprocket.com/mapbox-wax/dist/wax.g.js' type='text/javascript'></script> | |
<script src='http://code.jquery.com/jquery-1.6.4.min.js' type='text/javascript'></script> | |
<link href='http://www.geosprocket.com/css/basic.css' rel='stylesheet' type='text/css' /> | |
<link href='http://www.geosprocket.com/css/buttons.css' rel='stylesheet' type='text/css' /> | |
<link href='http://www.geosprocket.com/mapbox-wax/theme/controls.css' rel='stylesheet' type='text/css' /> |
<html> | |
<head> | |
<script src='https://raw.github.com/mapbox/wax/master/ext/leaflet.js' type='text/javascript'></script> | |
<script src='https://raw.github.com/mapbox/wax/master/dist/wax.leaf.js' type='text/javascript'></script> | |
<link href='https://raw.github.com/mapbox/wax/master/ext/leaflet.css' rel="stylesheet" type="text/css" /> | |
<link href='https://raw.github.com/mapbox/wax/master/theme/controls.css' rel="stylesheet" type="text/css" /> | |
<style type='text/css'> | |
#map-div { | |
width:500px; | |
height:300px; |
<html> | |
<head> | |
<title>Tornadoes in the U.S.</title> | |
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' type='text/javascript'></script> | |
<script src='http://mapbox.com/wax/dist/modestmaps.js' type='text/javascript'></script> | |
<script src='http://mapbox.com/wax/dist/wax.mm.min.js' type='text/javascript'></script> | |
<link href='http://mapbox.com/wax/css/controls.css' rel='stylesheet' type='text/css' /> | |
</head> | |
<body> | |
<div id="sidebar"> |
var mm = com.modestmaps; | |
var url = 'http://api.tiles.mapbox.com/v3/tristen.map-h7dkbvxx.jsonp'; | |
// ## Map Implementation | |
wax.tilejson(url, function(tilejson) { | |
// By default, MapBox hosting provides | |
// templating markup in uploaded .mbtiles. | |
// In wax we want to remove template object | |
// so we can default to tilejson.formatter instead. |