PHPackages                             booosta/openstreetmap\_org - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. booosta/openstreetmap\_org

ActiveLibrary[Framework](/categories/framework)

booosta/openstreetmap\_org
==========================

Show openstreetmap maps in the Booosta Framework

v4.0.7(8mo ago)0151LGPL-3.0-onlyPHPPHP &gt;=8.0.0

Since Feb 14Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/buzanits/booosta-openstreetmap_org)[ Packagist](https://packagist.org/packages/booosta/openstreetmap_org)[ RSS](/packages/booosta-openstreetmap-org/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (1)Versions (8)Used By (1)

Show openstreetmap maps in the Booosta Framework or PHP scripts
===============================================================

[](#show-openstreetmap-maps-in-the-booosta-framework-or-php-scripts)

This modules provides the possibility to show maps from openstreetmap.org in a Booosta web application. It can also be used standalone without the Booosta framework.

Booosta allows to develop PHP web applications quick. It is mainly designed for small web applications. It does not provide a strict MVC distinction. Although the MVC concepts influence the framework. Templates, data objects can be seen as the Vs and Ms of MVC.

Up to version 3 Booosta was available at Sourceforge:  From version 4 on it resides on Github and is available from Packagist under booosta/booosta .

Installation
------------

[](#installation)

This module can be used inside the Booosta framework. If you want to do so, install the framework first. See the [installation instructions](https://github.com/buzanits/booosta-installer) for accomplishing this. If your Booosta is installed, you can install this module.

You also can use this module in your standalone PHP scripts. In both cases you install it with:

```
composer require booosta/openstreetmap_org

```

Usage in the Booosta framework
------------------------------

[](#usage-in-the-booosta-framework)

In your scripts you use the module:

```
# [...]
$map = $this->makeInstance('openstreetmap_org', $lat, $lon, $zoom);
$html = $map->get_html();

```

Usage in standalone PHP scripts
-------------------------------

[](#usage-in-standalone-php-scripts)

In your PHP script you use:

```
