laptop and a wrench

Bug

ArcGIS Classic Map Viewer generates faulty embed code where the URL for the web map starts with '//example.maps.arcgis.com/....' instead of 'https://example.maps.arcgis.com/...' as required.

ArcGIS Online
Bug ID Number BUG-000167306
SubmittedMay 8, 2024
Last ModifiedDecember 17, 2024
Applies toArcGIS Online
Version foundFeb 2024
Operating SystemN/A
Operating System VersionN/A
StatusIn Review

Workaround

  • When adding 'https:' before the //example.maps.arcgis.com..., save the website for it to work. For example:

<style>.embed-container {position: relative; padding-bottom: 80%; height: 0; max-width: 100%;} .embed-container iframe, .embed-container object, .embed-container iframe{position: absolute; top: 0; left: 0; width: 100%; height: 100%;} small{position: absolute; z-index: 40; bottom: 0; margin-bottom: -15px;}</style><div class="embed-container"><iframe width="500" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" title="Hästar på rymmen_2" src="https://esrisupport.maps.arcgis.com/apps/Embed/index.html?webmap=4d508788cf994fca9bf7cf2638f8a778&extent=15.2008,60.5488,15.2566,60.5666&zoom=true&previewImage=false&scale=true&disable_scroll=true&theme=light"></iframe></div>

Steps to Reproduce

Bug ID: BUG-000167306

Software:

  • ArcGIS Online

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options