我必须在我的应用程序中显示区域地图。该地图以大型 jpg 文件形式提供(>1000 像素 * 1000 像素)。我将其显示在网络视图中,并且还使用内置的缩放控件和缩放选择器,效果非常好。现在我想限制缩放,使图像不能小于列表视图的高度。因为当我缩小时,图像变小,网络视图下方会显示白色区域,这是我想要避免的。
问候,霍夫
I have to display an area map in my application. This map is provided as a large jpg file (>1000px * 1000 px). I display it in a webview and I also use the build in zoom controls and the zoompicker, which works pretty well. Now I want to limit the zoom, so that the image can't be smaller than the listview height. Because when I zoom out, and the image gets smaller, a white area is display underneath the webview and this is whatI want to avoid.
Regards, Hof
发布评论
评论(1)
将此元标记插入 head 元素中:
Insert this meta tag in the head element: