Diem plugins syndication

miGoogleMapsNavigationPlugin

Diem plugin with google map navigation

miGoogleMapsNavigation plugin can be done where you can find the way to go using the Google Maps API. You can also add more than two places to go. See in action in http://misdigital.net/web/index.php/como-llegar

Installation

  • In a console, from your project root dir, run:
git clone git://github.com/ferchuhill/miGoogleMapsNavigationPlugin.git plugins/miGoogleMapsNavigationPlugin  
  • In config/ProjectConfiguration.class.php, add miGoogleMapsNavigationPlugin to the list of enabled plugins:
class ProjectConfiguration extends dmProjectConfiguration
{  
  public function setup()  
  {  
    parent::setup();  
 
    $this->enablePlugins(array(  
      // your enabled plugins  
      'miGoogleMapsNavigationPlugin'  
    ));  
  • In a console, from your project root dir, run:
php symfony dm:setup  

This widget can be used without any extra configuration.

If needed, by modifying the widget symfony as follows:
$ this-> miWidgetMap-> setPosicionIr (array ('titulo' => 'Destination ..', 'Direcciones' => null));

The array can go the following configurations:
-titulo: is the title of the div, h1 tag in a
-zoom = '15 '. Is the level used,
-TypeMap: = ['ROADMAP' | 'SATELLITE' | 'HYBRID' | 'TERRAIN']
-travelMode = ['DRIVING' | 'Walking' | 'Bicycling']
-OptimizeInternalPoints = ['false' | 'true']
-DivIdRenderMap = 'renderMap'
-StyleMap = '"width: 550px; height: 400px;"'
-styleContenedor = 'width: 800px; "
-DivClassRenderMap = 'map'
-DivIdRenderInstrucciones = 'instructions'
-DivClassRenderInstrucciones = 'null'
-DivIdRenderTotal = 'total'
-DivClassRenderTotal = 'total'

    Add a comment

    Impossible to fetch issues for this plugin.
    Impossible to get this plugin changelog.

    miGoogleMapsNavigationPlugin, created on August 30, 2011 by ferchuhill, used by 9 projects

    Fork Diem on GitHub