Changeset 7628 for trunk/src/index.php
- Timestamp:
- Mar 30, 2010, 9:27:00 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/index.php ¶
r7627 r7628 10 10 require_once('class/FileHandler.class.php'); 11 11 require_once('class/KMLFile.class.php'); 12 require_once('class/KMLPlacemark.class.php'); 13 14 $kmlPlacemark = new KMLPlacemark(); 15 $kmlPlacemark->setName('Test name'); 16 $kmlPlacemark->setDescription('Test description'); 17 $kmlPlacemark->setXCoordinate(52.138476); 18 $kmlPlacemark->setYCoordinate(4.463046); 12 19 13 20 $kml = new KMLFile(); 14 21 $kml->addPlacemark($kmlPlacemark); 22 echo $kml->toString(); 15 23 ?>
Note:
See TracChangeset
for help on using the changeset viewer.