Ignore:
Timestamp:
Mar 30, 2010, 9:27:00 AM (15 years ago)
Author:
Pieter Naber
Message:

Added some contraints, created a index file for a simple test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/class/KMLFile.class.php

    r7627 r7628  
    2323        }
    2424
    25         function addPlacemark($name, $description, $xcoordinate, $ycoordinate) {
     25        function addPlacemark(KMLPlacemark $placemark) {
     26                $this->KMLPlacemarks[] = $placemark;
     27        }
     28
     29        function addPlacemark(string $name, string $description, float $xcoordinate, float $ycoordinate) {
    2630                $placemark = new KMLPlacemark();
    2731                $placemark->setName($name);
Note: See TracChangeset for help on using the changeset viewer.