查看单个帖子
旧 2019-11-30, 00:20   #1
poster
高级会员
 
注册日期: 2019-11-21
帖子: 3,006
声望力: 66
poster 正向着好的方向发展
默认 使用“映射”工具箱和wmmarker函数:为什么可点击的“描述”链接没有打开其目标?

我使用Matlab映射工具箱和wmmarker函数。在此功能的文档(“ doc wmmarker”)中,以下示例用于显示地图上的标记如何获取带有文本的弹出标签,其中某些文本可以是超链接。在下面的示例中,为名为“ ST01”的地理区域创建了一个标签,并使用站点名称和指向URL的超链接来创建该标签: https : //www.mathworks.com

close all webmap('World Imagery'); stationName = 'ST01'; target="_blank">https://www.mathworks.com'); description = sprintf('%s','https://www.mathworks.com'); lat = 69.601142; lon = 30.025769; color = [0, 1, 0]; wmmarker(lat,lon,... 'FeatureName',stationName,... 'Description',description,... 'Color',color,... 'AutoFit',true); 但是,单击此超链接时,网页不会打开。可能是什么原因呢?



更多&回答...
poster 当前离线   回复时引用此帖