laptop and a wrench

Bogue

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
Numéro d’ID de bogue BUG-000167306
EnvoiMay 8, 2024
Dernière modificationDecember 17, 2024
S’applique àArcGIS Online
Version trouvéeFeb 2024
Système d’exploitationN/A
Version du système d’exploitationN/A
StatutIn Review

Solution de contournement

  • 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>

Étapes pour reproduire

ID de bogue: BUG-000167306

Logiciel:

  • ArcGIS Online

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement