Feb-17-2020, 07:18 AM
I am trying to change the newpoint default shape , the code below return no errors but the result still using default Yellow shape in Googlmap.
.I wanted to change it to RED Rectangular shape.
.I wanted to change it to RED Rectangular shape.


import simplekml ''' code below doesn't work either. from simplekml import * from simplekml import Shape, Color ''' kml = simplekml.Kml() kml.shape='rectangle' kml.color='r' kml.newpoint(name="test", coords=[(18.432314,-33.988862)]) kml.save("test.kml")