studio-vinari/geographical-bundle

Geographical functionality for ORM and ODM entities and JavaScript maps rendering

Installs: 25 535

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 26

Type:symfony-bundle

v1.0.1 2017-04-29 12:03 UTC

This package is not auto-updated.

Last update: 2024-05-21 22:14:05 UTC


README

VichGeographicalBundle provides automatic geographic coordinate querying for ORM entities and ODM documents. The bundle also provides functionality for rendering JavaScript maps for these entities in your Symfony2 project using annotations and Twig helpers. It also allows for object oriented JavaScript maps to be rendered without requiring any of the coordinate querying features.

The bundle uses Google Maps by default, but other maps are always being integrated and you are welcome to submit a PR to add your own map renderer at any time.

Installation

The simplest way to install this bundle is with composer:

composer require studio-vinari/geographical-bundle ~1.0

For more in-depth documentation, please see Resources/doc/index.md.

Supported map renderers

The bundle currently supports the following map renderers:

If you would like to use another map renderer, please submit a pull request with the code, or let us know and we will do our best to implement it for you.

Fork notes

This repository has been forked from the original vich/geographical-bundle package which has not been maintained since 2012. All current PRs against the original repo have been merged in to this branch, and we aim to maintain the code from hereon out.

Thanks go out to Dustin Dobervich for his great work on creating this extension, which is still used on so many sites.

Documentation

For usage documentation, please see:

Resources/doc/index.md

For the code license, please see:

Resources/meta/LICENSE