Skip to content

Instantly share code, notes, and snippets.

@mousebird
Created June 23, 2015 00:23
Show Gist options
  • Save mousebird/27099a3d8c487c8dbb60 to your computer and use it in GitHub Desktop.
Save mousebird/27099a3d8c487c8dbb60 to your computer and use it in GitHub Desktop.
nasaLayers =
[{
name: "Mapbox Satellite",
url: "http://a.tiles.mapbox.com/v3/examples.map-zyt2v9k2.json",
base: true
},
{ name: "MODIS/Terra TrueColor",
url: "http://map1.vis.earthdata.nasa.gov/wmts-webmerc/MODIS_Terra_CorrectedReflectance_TrueColor/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg",
minzoom: 1,
maxzoom: 9,
tileMatrixSet: "GoogleMapsCompatible_Level9",
base: true,
overlay: false,
minTime: "2012-05-08",
maxTime: "2014-12-7"
},
{ name: "VIIRS_CityLights_2012",
url: "http://map1.vis.earthdata.nasa.gov/wmts-webmerc/VIIRS_CityLights_2012/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg",
minzoom: 1,
maxzoom: 8,
tileMatrixSet: "GoogleMapsCompatible_Level8",
base: true,
overlay: false,
minTime: "2012-05-08",
maxTime: "2014-12-7"
},
{ name: "Aerosol Optical Depth",
url: "http://map1.vis.earthdata.nasa.gov/wmts-webmerc/OMI_Aerosol_Optical_Depth/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png",
minzoom: 1,
maxzoom: 6,
tileMatrixSet: "GoogleMapsCompatible_Level6",
base: false,
overlay: true,
minTime: "2012-05-08",
maxTime: "2014-12-7"
},
{ name: "Land Surface Temp - Day",
url: "http://map1.vis.earthdata.nasa.gov/wmts-webmerc/MODIS_Terra_Land_Surface_Temp_Day/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png",
minzoom: 1,
maxzoom: 7,
tileMatrixSet: "GoogleMapsCompatible_Level7",
base: false,
overlay: true,
minTime: "2012-05-08",
maxTime: "2014-12-7"
},
{ name: "Chlorophyll_A",
url: "http://map1.vis.earthdata.nasa.gov/wmts-webmerc/MODIS_Terra_Chlorophyll_A/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png",
minzoom: 1,
maxzoom: 7,
tileMatrixSet: "GoogleMapsCompatible_Level7",
base: false,
overlay: true,
minTime: "2012-05-08",
maxTime: "2014-12-7"
},
{ name: "AIRS_Precipitation_Day",
url: "http://map1.vis.earthdata.nasa.gov/wmts-webmerc/AIRS_Precipitation_Day/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png",
minzoom: 1,
maxzoom: 6,
tileMatrixSet: "GoogleMapsCompatible_Level6",
base: false,
overlay: true,
minTime: "2012-05-08",
maxTime: "2014-12-7"
}
// { name: "AIRS_Dust_Score",
// url: "http://map1.vis.earthdata.nasa.gov/wmts-webmerc/AIRS_Dust_Score/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png",
// minzoom: 1,
// maxzoom: 6,
// tileMatrixSet: "GoogleMapsCompatible_Level6",
// base: false,
// overlay: true,
// minTime: "2012-05-08",
// maxTime: "2014-12-7"
// }
// { name: "Daily Freeze/Thaw",
// url: "http://map1.vis.earthdata.nasa.gov/wmts-webmerc/MEaSUREs_Daily_Landscape_Freeze_Thaw_AMSRE/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png",
// minzoom: 0,
// maxzoom: 6,
// tileMatrixSet: "GoogleMapsCompatible_Level6",
// base: false,
// overlay: true,
// minTime: "2012-05-08",
// maxTime: "2014-12-7"
// }
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment