diff --git a/src/StaticMapLite.php b/src/Printer.php similarity index 99% rename from src/StaticMapLite.php rename to src/Printer.php index 72c633d..a93bb2b 100644 --- a/src/StaticMapLite.php +++ b/src/Printer.php @@ -2,7 +2,7 @@ namespace StaticMapLite; -class StaticMapLite +class Printer { protected $maxWidth = 1024; protected $maxHeight = 1024; diff --git a/web/staticmap.php b/web/staticmap.php index e465d7a..db89c2c 100644 --- a/web/staticmap.php +++ b/web/staticmap.php @@ -27,7 +27,7 @@ require_once '../vendor/autoload.php'; -use StaticMapLite\StaticMapLite; +use StaticMapLite\Printer; -$map = new StaticMapLite(); -print $map->showMap(); +$printer = new Printer(); +print $printer->showMap();