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
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
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
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
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',
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
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
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