vlobchuk/google-static-map

v0.1.4 2015-10-29 14:53 UTC

This package is not auto-updated.

Last update: 2024-12-25 18:22:40 UTC


README

Installation

composer require vlobchuk/google-static-map

Here's an example:

$map = new StaticMap();
$map->setZoom(16);
$map->setType(StaticMap::T_SATELLITE);

$urlGenerator = new UrlGenerator();

$map->addMarker(new Marker(new Coordinate(59.9386300, 30.3141300), new MarkerStyle()));

$url = $urlGenerator->generate($map);