Download the PHP package friendsofvictoire/gmap-widget without Composer
On this page you can find all versions of the php package friendsofvictoire/gmap-widget. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download friendsofvictoire/gmap-widget
More information about friendsofvictoire/gmap-widget
Files in friendsofvictoire/gmap-widget
Package gmap-widget
Short Description Victoire DCMS Google Maps widget
License MIT
Informations about the package gmap-widget
Victoire DCMS Google Maps Bundle
What is the purpose of this bundle
This bundles gives you access to the Google Maps Widget. This widget can put a dynamic Google Maps within your website with the following settings :
- Latitud
- Longitud
- Map's zoom
- Title of the Map
- Hide or not the pointer
- Import of any KML File
Set Up Victoire
If you haven't already, you can follow the steps to set up Victoire here
Install the bundle
Run the following composer command :
php composer.phar require friendsofvictoire/gmap-widget
Reminder
Do not forget to add the bundle in your AppKernel !
Parameters
Add your api key in your app parameters
KML
The widget generate a bug if the KML file is upload on a local project. You can test KML import with this example given by Google.
Multiple widget & Google Maps API
If you use several widgets Google Maps on the same page, in order to prevent each one of them to make Google Maps API call, a javascript is used to call once and for all thhe API. This javascript triggers an event with only one Google Maps callback to initialize the widgets.
All versions of gmap-widget with dependencies
symfony/framework-bundle Version ~2.8|~3.0
victoire/victoire Version ~2.3|~3.0