示例#1
0
文件: map.php 项目: noccy80/cherryphp
 public function getMapCanvas($width, $height)
 {
     $url = $this->getApiQueryUrl(["w" => $width, "h" => $height]);
     $map = file_get_contents($url);
     $c = Canvas::createFromString($map);
     return $c;
 }