Add visibility parameter to kml file

For #3
This commit is contained in:
Phil Gyford
2019-09-22 16:25:48 +01:00
parent 894fcf0302
commit 08516c4f13

View File

@@ -232,10 +232,13 @@ class FeedGenerator:
)
]
visibility = 0 if "private" in checkin else 1
pnt = fol.newpoint(
name=venue_name,
description="<![CDATA[{}]]>".format('\n'.join(description)),
coords=coords,
visibility=visibility,
# Both of these were set like this in Foursquare's original KML:
altitudemode=simplekml.AltitudeMode.relativetoground,
extrude=1,