Exemplo n.º 1
0
 public function getMapCanvas($width, $height)
 {
     $url = $this->getApiQueryUrl(["w" => $width, "h" => $height]);
     $map = file_get_contents($url);
     $c = Canvas::createFromString($map);
     return $c;
 }