我正在尝试为弹出窗口使用可变图像。图像链接更改每个颊“for”
image = https://photos.marinetraffic.com/ais/showphoto.aspx?photoid=2633134
feature = {
'type': 'Feature',
'geometry': {
'type':'Point',
'coordinates':[row['lon'],row['lat']]
},
'properties': {
'time': pd.to_datetime(row['date']).__str__(),
'popup': "<iframe src=" + {image}.__str__() + "height='250'/>",
'style': {'color' : ''},
'icon': 'circle',
'iconstyle':{
'fillColor': row['fillColor'],
'fillOpacity': 0.8,
'radius': 5
}
但我不能让它工作,有什么想法吗
Error: Not allowed to load local resource: file:///C:/Users/...
目前没有回答
相关问题 更多 >
编程相关推荐