OPM Mars Basemap v0.2

This basemap of Mars in a combination of multiple raster and vector datasets that provides a characteristic view of the planet for a broader audience.

How to Use

XYZ raster tiles URL

Copy and paste the following URL in your javascript code using web clients such as Leaflet, Google Maps, or OpenLayers.

https://cartocdn-gusc.global.ssl.fastly.net/opmbuilder/api/v1/map/named/opm-mars-basemap-v0-2/all/{z}/{x}/{y}.png

Note that you can fetch individual layer or a group of layers for this basemap. For example, you can fetch only tiles related to the nomenclature labels, and lay it on top of a single-layer raster basemap available for this planetary body. Learn more about how to fetch CARTO XYZ Tiles for Named Maps.

Examples

var map = L.map('map');

var baselayer = new L.tileLayer('https://cartocdn-gusc.global.ssl.fastly.net/opmbuilder/api/v1/map/named/opm-mars-basemap-v0-2/all/{z}/{x}/{y}.png', {
			zoom: 3,
			tms: false,
		}).addTo(map).setZIndex(0);
var map = new ol.Map({
  target: 'map',
	layers: [
	          new ol.layer.Tile({
	            source: new ol.source.XYZ({
	              url: 'https://cartocdn-gusc.global.ssl.fastly.net/opmbuilder/api/v1/map/named/opm-mars-basemap-v0-2/all/{z}/{x}/{y}.png'
	            })
	          })
	        ],
  view: new ol.View({
    center: [0,0],
    zoom: 4
  })
});

Data Layers

This basemap is composed of the following datasets:

Mars Nomenclature (polygons)
opm_499_mars_nomenclature_polygons
Mars Topography Contours (lines)
opm_499_mars_contours_200m_lines
Mars TES Albedo (7 classes)
opm_499_mars_albedo_tes_7classes
Mars Topography Contours (polygon)
opm_499_mars_contours_200m_polygons
Mars Topography Hillshade
mars-hillshade

Vector datasets are styled, using the CartoCSS styling language, according the following CARTO MapConfig file:

view more
view less