poster
2019-11-30, 00:20
我使用Matlab映射工具箱和wmmarker函数。在此功能的文档(“ doc wmmarker”)中,以下示例用于显示地图上的标记如何获取带有文本的弹出标签,其中某些文本可以是超链接。在下面的示例中,为名为“ ST01”的地理区域创建了一个标签,并使用站点名称和指向URL的超链接来创建该标签: https (https://www.mathworks.com) : //www.mathworks.com (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); 但是,单击此超链接时,网页不会打开。可能是什么原因呢?
更多&回答... (https://stackoverflow.com/q/59108000)
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); 但是,单击此超链接时,网页不会打开。可能是什么原因呢?
更多&回答... (https://stackoverflow.com/q/59108000)