laptop and a wrench

漏洞

Layers in an application built with Ionic is not behaving as expected.

上次发布: September 18, 2018 ArcGIS API for JavaScript
漏洞 ID 编号 BUG-000107002
已提交July 31, 2017
上次修改时间June 5, 2024
适用范围ArcGIS API for JavaScript
找到的版本4.3
操作系统Android
操作系统版本6.0x
状态Will Not Be Addressed

附加信息

All images in the page are assigned max-width: 100% by www/build/main.css in this project. img { max-width: 100%; border: 0; } This is causing map images in MapImageLayer to shrink (to fit the size of its parent div) when zooming in beyond a certain scale, depending on the screen size of these images.

解决办法

Fix www/build/main.css to scope the rule properly such that map images inside the ESRI map are not affected.Or,Override the max-width set by main.css by setting max-width: none; specifically for map images. Like this:#map_layer1 img {  max-width: none;}This would be easier if users assign a layer ID for the MapImageLayer and reference that ID in the CSS rule above.

重现步骤

漏洞 ID: BUG-000107002

软件:

  • ArcGIS API for JavaScript

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项