lukaswhite/static-maps

A PHP class for generating static maps.

0.0.1 2018-08-14 15:11 UTC

This package is auto-updated.

Last update: 2024-11-28 01:17:30 UTC


README

A PHP library for generating static maps.

Full Documentation to follow

Quick Example

$center = new LatLng( 53.48095000, -2.23743000 );
$markers = new MarkerFactory( );
$marker = $markers->create( 'pin', $center );

$map = new Map( );

$map->setCenter( $center )
    ->setZoom( 18 )
    ->addMarker( $marker );

$map->save( '/path/to/some/directory' );

The result:

Manchester