php-osm-static-api
PHP library to easily get static image from OpenStreetMap (OSM) with markers, lines, circles and polygons.
File Explorer
Download Latest Version (.zip)- FUNDING.yml
- Draw.md
- GeographicConverter.md
- Circle.md
- LatLng.md
- Line.md
- MapData.md
- Markers.md
- OpenStreetMap.md
- Polygon.md
- TileLayer.md
- XY.md
- index.md
- Draw.php
- font.ttf
- marker.png
- marker2.png
- sample1.png
- sample4.png
- sample1.php
- sample2.php
- sample3.php
- sample4.php
- GeographicConverter.php
- Circle.php
- LatLng.php
- Line.php
- MapData.php
- Markers.php
- OpenStreetMap.php
- Polygon.php
- TileLayer.php
- XY.php
- .gitignore
- composer.json
- LICENSE
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/DantSu/php-osm-static-api
Downloads the entire project code from GitHub to your computer.
cd php-osm-static-api
Moves into the project folder you just downloaded.
2. PHP (Composer)
Easy RecommendedPrerequisites
composer require dantsu/php-osm-static-api
Type this command into your terminal and run it.
Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
