Giter Site home page Giter Site logo

aexgmapslotplugin's Introduction

requires

http://svn.symfony-project.com/plugins/sfEasyGMapPlugin/branches/v3/

This plugin adds a slot that displays a Google Map.

INSTALLATION
 - Edit config/ProjectConfiguration.class.php and add 'aExGMapSlotPlugin' to the enabled plugins list.
 - Edit apps/frontend/config/settings.yml and add 'aExGoogleMapSlot' to the enabled_modules list.

 - Edit app.yml and add aExGoogleMap in slot_types

- Edit app.yml and the map api keys you got from Google. e.g.

all:

  google:
    maps_api_keys:
      localhost: ABQIAAAA4DfdUskbIkjSXXHEOG6U6BRbBm_rYrdNQgiZt4kLrukbeYA08hT9oTrx
      www.existanze.com: ABQIAAAA4DfdUskbIkjSXXHEOG6U6BQ2aNue4v8nyRrqjKgUh8JbRwP8HRQF81T9c3cS


 - Edit apostrophe's layout or template file and add 'aExGoogleMap' at the a_area allowed_types array.
 - symfony doctrine:build-model
 - symfony doctrine:build-forms
 - symfony cc

aexgmapslotplugin's People

Contributors

fotisp avatar gtsouk avatar

Watchers

 avatar Existanze - #connectingdots avatar  avatar James Cloos avatar

aexgmapslotplugin's Issues

Bug with addHtmlInfoWindow() in components.class.php

There is a bug on line 37 in modules/aExGoogleMapSlot/actions/components.class.php
The bug is related to the required sfEasyGMapPlugin and it is described here: http://labs.theodo.fr/issues/show/11

The line itself:
$marker->addHtmlInfoWindow($this->values['description']);

And the fix:
$info_window = new GMapInfoWindow($this->values['description']);
$marker->addHtmlInfoWindow($info_window);

The documentation for sfEasyGMapPlugin is just incorrect.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.