Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
高级会员
注册日期: 2019-11-21
帖子: 3,006
声望力: 66 ![]() |
![]()
我使用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); 但是,单击此超链接时,网页不会打开。可能是什么原因呢? 更多&回答... |
![]() |
![]() |