A RetroSearch Logo

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

Search Query:

Showing content from https://developers.arcgis.com/javascript/latest/references/embeddable-components/ below:

Embeddable Components | ArcGIS Maps SDK for JavaScript 4.33

As part of the ArcGIS Maps SDK for JavaScript's embeddable components, the embedded map component allows users to quickly embed a saved WebMap into a website with default components (i.e. zoom, legend, bookmarks) pre-configured.

By adding a single script tag and the custom element to your page, the embedded map component will load the required files from the CDN to provide a seamless developer experience.

Use dark colors for code blocks Copy

1
2
3
4
5
6
7
8
9
10
11
12
<!-- Add script to the <head> of your page -->
<script
  type="module"
  src="https://js.arcgis.com/4.33/embeddable-components/"></script>
<!-- Add custom element to <body> of your page -->
<!-- Note: a height of 600px as a minimum is ideal -->
<arcgis-embedded-map
  style="height:600px; width:700px;"
  item-id="10f5128431d44f9180d9936834100ac5"
  legend-enabled
  heading-enabled>
</arcgis-embedded-map>

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