Skip to Content

styles

  1. pnt = kml.newpoint(name="Equerre", coords=[(4.607398,50.66310)])
  2. pnt.labelstyle.color = 'ff0000ff' #le texte Equerre est écrit en rouge
  3. pnt.labelstyle.scale = 2
  4. pnt.iconstyle.color = 'ffff0000'
  5. pnt.iconstyle.scale = 3
  6. pnt.iconstyle.icon.href = 'http://maps.google.com/mapfiles/kml/shapes/info-i.png'