Skip to content

Latest commit

 

History

37 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Issue following command in console:

composer require sapistudio/sapimaps

Usage

Initiate here provider

use Sapistudio\SapiMaps\Handler;
$here = Handler::Here(Config::HERE_API_KEY());

Get a reverse geocode address

$address =$here->revGeocode($coordinates);
// $coordinates can be an array of lat,lon , or passed as arguments

Get a static map image url with route draw

$mapRoute =$here->mapRoute($coordinates);
// $coordinates must be an array of coordinates. ex: [[lat1,lon1],[lat2,lon2]..etc]

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages