A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/en/javascript/jsapi/esri.basemaps-amd.html below:

esri/basemaps | API Reference | ArcGIS API for JavaScript 3.46

require(["esri/basemaps"], function(esriBasemaps) { /* code goes here */ });
Description

(Added at v3.12)

This class contains properties referencing default basemaps used in the JS API that allow you to add map services as default basemaps in web applications.

esri/basemaps

replaces

esri.config.defaults.map.basemaps

, which is deprecated as of v3.12.

To view documentation for the baseLayers property of each basemap object, see the BasemapLayer class.
  require([
    "esri/basemaps",
    "esri/map",
    "dojo/domReady!"
  ], function (esriBasemaps, Map){
    esriBasemaps.mybasemap= {
      baseMapLayers: [{url: "https://www.example.com/arcgis/rest/services/MyBasemap/MapServer"}
      ],
      thumbnailUrl: "https://www.example.com/images/thumbnail_2014-11-25_61051.png",
      title: "Second best basemap"
    };

    var map = new Map("ui-map", {
      basemap: "mybasemap"
    });
});
See also
Samples

Search for

samples

that use this class.

Properties

Property Details

The

Dark Gray Canvas [v2]

vector tile layer provides a detailed basemap for the world featuring a neutral background style with minimal colors, labels, and features. The vector tile layer is similar in content and style to the popular Dark Gray Canvas map, which is delivered as two map services with raster fused map cache.

(Added at v3.16)

The

Light Gray Canvas [v2]

vector tile layer provides a detailed basemap for the world featuring a neutral background style with minimal colors, labels, and features.

(Added at v3.16)

The OpenStreetMap is a community map layer that is designed to be used as a basemap for various maps and applications.

The

World Navigation Map [v2]

vector tile layer provides a detailed basemap for the world featuring a custom navigation map style.

(Added at v3.16)

The

World Street Map (Night) [v2]

vector tile layer provides a detailed basemap for the world featuring a custom "night time" street map style.

(Added at v3.16)

The

World Street Map (with Relief) [v2]

vector tile layer provides a detailed basemap for the world featuring a classic Esri street map style designed for use with a relief map.

(Added at v3.16)

The

World Street Map [v2]

vector tile layer provides a detailed basemap for the world featuring a classic Esri street map style.

(Added at v3.16)

The

World Topographic Map [v2]

vector tile layer provides a detailed basemap for the world featuring a classic Esri topographic map style designed for use with a relief map.

(Added at v3.16)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4