egeloen / IvoryGoogleMapBundle

Google Map API v3 integration for your Symfony2 project.
https://github.com/egeloen/ivory-google-map
MIT License
217 stars 152 forks source link

MapHelper not registered for PHP template engine #27

Closed Venzon closed 12 years ago

Venzon commented 12 years ago

Hi I am not using twig templates and I had problem using this bundle in my project. MapHelper service is not tagged for templating.helper and is not accessible from PHP view. For now i created my own helper service which calls methods from \Ivory\GoogleMapBundle\Templating\Helper\MapHelper. Is it possible to register MapHelper for PHP template engine aswell?

egeloen commented 12 years ago

Currently, the bundle only supports twig template engine. I have never used symfony with the PHP template engine and so, i'm absolutely not familiar with it. If you can make or start a PR, it can be usefull :). Btw, I will investigate this issue.

Venzon commented 12 years ago

Ok, I will do PR tomorrow asap

Venzon commented 12 years ago

PR is ready, please check it out