I have problem with my code, can any1 take a look? its from folium, but it's not relevant
for index, row in beacons.iterrows():
if beacons['is_active'].any()==1:
marker_active = feature_group_active.add_child(folium.Circle(location=[row['latitude'], row['longitude']],
popup='{0}: {1}'.format(row['point_of_interest'], row['is_active']))).add_to(map_1)
else:
marker_unactive = feature_group_unactive.add_to(map_1)
Aucun commentaire:
Enregistrer un commentaire