![]() |
使用“映射”工具箱和wmmarker函数:为什么可点击的“描述”链接没有打开其目标?
我使用Matlab映射工具箱和wmmarker函数。在此功能的文档(“ doc wmmarker”)中,以下示例用于显示地图上的标记如何获取带有文本的弹出标签,其中某些文本可以是超链接。在下面的示例中,为名为“ ST01”的地理区域创建了一个标签,并使用站点名称和指向URL的超链接来创建该标签: [URL="https://www.mathworks.com"]https[/URL] : [URL="https://www.mathworks.com"]//www.mathworks.com[/URL] 。
close all webmap('World Imagery'); stationName = 'ST01'; target="_blank">[url]https://www.mathworks.com');[/url] description = sprintf('%s','[URL]https://www.mathworks.com[/URL]'); lat = 69.601142; lon = 30.025769; color = [0, 1, 0]; wmmarker(lat,lon,... 'FeatureName',stationName,... 'Description',description,... 'Color',color,... 'AutoFit',true); 但是,单击此超链接时,网页不会打开。可能是什么原因呢? [url=https://stackoverflow.com/q/59108000]更多&回答...[/url] |
所有时间均为北京时间。现在的时间是 23:39。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.