existanze / aexgmapslotplugin Goto Github PK
View Code? Open in Web Editor NEWA wrapper around sfEasyGMapPlugin to act as an Apostrophe slot
Home Page: http://www.existanze.com/open/aExGMapSlotPlugin
A wrapper around sfEasyGMapPlugin to act as an Apostrophe slot
Home Page: http://www.existanze.com/open/aExGMapSlotPlugin
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
We need to add the availability of adding more than one map for each page
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.