Re: [symfony-users] Re: sfEasyGMapPlugin: Mulitple maps on one page

2011-01-19 Thread Michał Piotrowski
Ping? W dniu 12 stycznia 2011 12:23 użytkownik Michał Piotrowski mkkp...@gmail.com napisał: Hi, 2010/7/12 Fabrice Bernhard fabri...@theodo.fr: Ok so this is actually a working strategy ? I will implement it and name the function initialize 'intiialize_'.$map_name by default so that users

Re: [symfony-users] Re: sfEasyGMapPlugin: Mulitple maps on one page

2011-01-12 Thread Michał Piotrowski
Hi, 2010/7/12 Fabrice Bernhard fabri...@theodo.fr: Ok so this is actually a working strategy ? I will implement it and name the function initialize 'intiialize_'.$map_name by default so that users don't need to actually change this parameter unless they need to. Concerning the

[symfony-users] Re: sfEasyGMapPlugin: Mulitple maps on one page

2010-07-13 Thread Mathieu Comandon
Indeed, it's better not to create yet another parameter in order to instantiate the map. Automatically generating the initialize function name is a better idea than what I've done. I've never instanciated the same map several times and I don't know why someone would want to do such a thing. I'm

[symfony-users] Re: sfEasyGMapPlugin: Mulitple maps on one page

2010-07-12 Thread Fabrice Bernhard
Ok so this is actually a working strategy ? I will implement it and name the function initialize 'intiialize_'.$map_name by default so that users don't need to actually change this parameter unless they need to. Concerning the javascript_name of the map, one soulution could be to generate

[symfony-users] Re: sfEasyGMapPlugin: Mulitple maps on one page

2010-07-11 Thread Mathieu Comandon
I've submitted a quick n'dirty patch on the plugin's bugtracker, for those who want to integrate it manually, here's what it looks like : -- --- GMap.class.php +++ GMap.class.php2 @@ -87,6 +87,7 @@ protected $parameters = array( 'js_name' = 'map',

[symfony-users] Re: sfEasyGMapPlugin: Mulitple maps on one page

2010-07-09 Thread Mathieu Comandon
On Jul 9, 11:29 am, Johannes Trommer johannes.trom...@gmail.com wrote: Hi folks, Is there any possibility to include more then one map into a template? I'm afraid not, at least for the moment. I've reported this issue to the developers (bug report here : http://labs.theodo.fr/issues/show/12

Re: [symfony-users] Re: sfEasyGMapPlugin: Mulitple maps on one page

2010-07-09 Thread Ricardo Jose Guzman Milanes
I tried sfEasyGMapPlugin once, but used Phoogle instead. And you can have as many maps as you want per template http://www.symfonylab.com/phoogle-usage-with-symfony/ -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this

[symfony-users] Re: sfEasyGMapPlugin: Mulitple maps on one page

2010-07-09 Thread Fabrice Bernhard
Hi, indeed there might be some problems with two maps on the same page using the sfEasyGMapPlugin. First you will need to specify in the options a different js_name for your two maps. Then you might have to hack the initialize function and call it $this-getJsNamE().'_initialize' instead If you