Ejemplo n.º 1
0
 private function show_static_map()
 {
     $google_map = new GoogleMaps($this->db);
     $google_map->add_route($this->origin, $this->destination);
     $google_map->add_marker("D", "red", "Den Haag, NL");
     $google_map->add_marker("L", "yellow", "London, EN");
     $google_map->add_marker("B", "green", "Bonn, DE");
     $google_map->set_visibility("Stuttgart, DE");
     $google_map->show_static_map(640, 350);
     $this->output->disable();
 }