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
Hey Omar,
something like this?
http://www.skinmedica.com/find-a-medical-practice?submitted=1zip=92109
If so, I can share how that's done.
Daniel
On Jun 9, 6:28 am, Omar El Mazny omar.elma...@gmail.com wrote:
hello
I have results in a list on the map is it possible when i click on
the
now i can see the map but it's not correctly loaded the zoom bar is
seperated and choosing from the view are blank
On Apr 21, 5:42 pm, Omar El Mazny omar.elma...@gmail.com wrote:
i tried with the zoom and center same problem !! same grey square
On Apr 21, 5:04 pm, BenjaM1
there was a problem with the css now the onload function for the map
overwrite my onload function so i want to combine them together any
idea
On Apr 22, 11:59 am, Omar El Mazny omar.elma...@gmail.com wrote:
now i can see the map but it's not correctly loaded the zoom bar is
seperated and
Did you set the zoom and the center of your map ?
$gMap-setZoom(...);
$gMap-setCenter(...);
On 21 avr, 16:55, Omar El Mazny omar.elma...@gmail.com wrote:
Hi all,
i've been trying all day to integrate sfEasyGMap to my application,
the sample works fine but in my application i only see a
i tried with the zoom and center same problem !! same grey square
On Apr 21, 5:04 pm, BenjaM1 benjamin.grandf...@gmail.com wrote:
Did you set the zoom and the center of your map ?
$gMap-setZoom(...);
$gMap-setCenter(...);
On 21 avr, 16:55, Omar El Mazny omar.elma...@gmail.com wrote:
Hi
Hello.
You have to insert the fourth parameter of GMapMarker object
constructor: the marker javascript name:
$marker = new GMapMarker($object-getLatitude(), $object-getLongitude
(), array(), 'marker_'.$object-getId());
otherwise the listener call always the same marker object (the last
one).
Hi Zach,
hmm, thats strange. Have you Firebug on your Firefox installed?
Maybe you can check, if you have any JavaScript error.
If I start with this Plugin, I setup a API Key for http://localhost/,
create the part in the app.yml and tested the sample1 example. And it
was working on my site.
Thank you Sebastian,
I installed Firebug and got the error:
google is not defined
sample1()sample1 (line 21)
google.load(maps, 2);
hmm... where should it be defined at?
Thanks for all your help,
Zach
On Jul 16, 3:03 am, Sebastian Müller
list.newmediafact...@googlemail.com wrote:
Hi
Hi Zach,
Can you load the source from your JavaScript directly or can you check
with Firebug, if this script correctly loaded?
The error mean, that he can't found the JavaScript var google. This
var is loading by the google JS source:
script type=text/javascript
Hi Zach,
this is a really strange problem but will be actually be solved
unintentionally in the next release of the plugin : the new version
will use autoloading of the maps source file at the same time as the
generic google js api file. You can already check how it works in the
dev branch of
Hi Zach,
no. Because for the normal test, you didn't need the web folder from
this plugin. I think there is something wrong with your API key.
Loog on you html source code and check which API key is used. Make sure
thats the right key for you local/test url!
Here is my test template:
?php
Hi Zach,
possible sources of errors :
- you are using output escaping. In this case you should write in
your template $gMap = $sf_data-getRaw(’gMap’); to disable output
escaping on the $gMap variable
- you are not connected to the Internet. This may seem stupid but
that can happen :-) In that
Sebastian,
I double checked my API keys and they are correct, but I'm not sure it
is being used...
The code in your test template is the same as what I'm using.
Hi Fabrice,
I am already using $gMap = $sf_data-getRaw('gMap');
I double checked, and I am connected to the Internet :)
I think your
Hi Zach,
have you setup ?php include_javascripts() ? in the header of your
layout.php ?
BR
Sebastian
Zach schrieb:
Sebastian,
I double checked my API keys and they are correct, but I'm not sure it
is being used...
The code in your test template is the same as what I'm using.
Hi
I have not. Do I just put it in frontend/templates/layout.php?
I tried that now, and it added script type=text/javascript
src=http://www.google.com/jsapi?
key=ABQI5obbqtnOwlU7fJ78TAw-0BT4JpDCwIgIRnp1ddTI6MvRVBGLbhQyWub0Cef-
VHzdDo70uUVQrZtOIA/script to the source, but it is still not
loading
Hi Zach,
I have put it in the app.yml on the root/config folder.
But have test the sample 1? If this also not work?
BR
Sebastian
--
Sebastian Müller
s.muel...@nm-f.de
http://www.new-mediafactory.de
--~--~-~--~~~---~--~~
You received this message because you are
Sample 1 does not work for me. When I go here mydomain/
frontend_dev.php/sfEasyGMapPlugin/sample1 I just get the text The
Map a big white space where the map should be and a search box to
search the map.
Did you move the the entire contents of plugins/sfEasyGMapPlugin/web
to web/sfEasyGMapPlugin
Has anyone used this plugin before? Maybe I just set it up wrong...
and it's a very simple problem.
I would really appreciate any help I can get on this issue.
Thanks,
Zach
On Jul 8, 1:07 pm, Zach zach...@gmail.com wrote:
Does anyone have any experience with the sfEasyGMapPlugin? I am having
Hi Zach,
I use it and it works very fine.
Have you setup the right API keys? So if you use
http://example.localhost/ you have to create a API key for this url.
BR from Hamburg
Sebastian
Zach schrieb:
Has anyone used this plugin before? Maybe I just set it up wrong...
and it's a very simple
Hi Sebastian,
Thanks for the reply. Yes, I have setup the right API keys, but I'm
not sure if I put them in the right place... I put them in the app.yml
file for the plugin and also in the app.yml file for the frontend app.
Does it matter which one it is in? Also, I moved the css, images, and
js
Hello Thomas,
Originally I had idea about ajaxified widget based implementation,
something like:
1. Implement the widget, initially it's might be single field to hold
lat/lng.;
2. Implement button on the right of field, to open up modal window with
gmap;
3. Modal window will show the map and
I will probably add a new version with more fields. Do you have specifics
thought on it ?
On Fri, Mar 13, 2009 at 6:50 PM, Yevgeniy A. Viktorov
w...@osmonitoring.comwrote:
Yeah, that's it!
Have you any futher todo? :)
Thank you!
Thomas Rabaix wrote:
You should read these posts :
For the official page I meant of course:
http://www.symfony-project.org/plugins/sfEasyGMapPlugin
Fabrice Bernhard
--http://www.theodo.fr
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post
Congrats, Fabrice :)
What do you think about form widget with such functionality:
http://addresschooser.mapeed.com/doc/
to pick lng/lat visually?
That's just an idea I would like to implement, but if no one did it yet? :D
Thanks.
Fabrice B wrote:
sfEasyGmapPlugin is a very easy to use
You should read these posts :
http://rabaix.net/en/articles/2009/03/02/how-to-create-a-multi-field-widget-with-sf-form
http://rabaix.net/en/articles/2009/03/04/how-to-use-the-sw-widget-form-g-map-address-widget
;)
On Fri, Mar 13, 2009 at 6:15 PM, Yevgeniy A. Viktorov
w...@osmonitoring.comwrote:
Yeah, that's it!
Have you any futher todo? :)
Thank you!
Thomas Rabaix wrote:
You should read these posts :
http://rabaix.net/en/articles/2009/03/02/how-to-create-a-multi-field-widget-with-sf-form
http://rabaix.net/en/articles/2009/03/04/how-to-use-the-sw-widget-form-g-map-address-widget
sweet..
Does it handle boundingBoxes?
On Sep 22, 9:14 pm, Fabrice B [EMAIL PROTECTED] wrote:
Hello,
following a conversation on the French symfony group, I worked to
release my pernosal Google Maps plugin. I tried to make it as simple
as possible while leaving most of the functionalities I
Plugin is working fine for me.
Thanks Fabrice :)
On Sep 23, 4:50 am, James [EMAIL PROTECTED] wrote:
Cool, I'll give it a download and give it a try. :-D
James
On Sep 22, 2008, at 7:40 PM, Fabrice B wrote:
I have not fully understood how to configure pear install for both
symfony 1.0
we tried the plugin on symfony 1.0.17, it works fine
thanks alot, very good plugin
On Sep 23, 10:43 am, nico [EMAIL PROTECTED] wrote:
Plugin is working fine for me.
Thanks Fabrice :)
On Sep 23, 4:50 am, James [EMAIL PROTECTED] wrote:
Cool, I'll give it a download and give it a try. :-D
How hard would this be to make compatible with Symfony 1.0? Looking
at the instructions for installation I don't see anything specific to
1.1. Is it using anything that is specific to the 1.1 APIs?
Thanks
James
Who for the time being is stuck in Symfony 1.0 land.
On Sep 22, 2008, at
I have not fully understood how to configure pear install for both
symfony 1.0 and 1.1 at the same time.
So in the meantime, just use the easy way, the svn checkout
svn co http://svn.symfony-project.com/plugins/sfEasyGMapPlugin/trunk/
plugins/sfEasyGMapPlugin
ln -s
Cool, I'll give it a download and give it a try. :-D
James
On Sep 22, 2008, at 7:40 PM, Fabrice B wrote:
I have not fully understood how to configure pear install for both
symfony 1.0 and 1.1 at the same time.
So in the meantime, just use the easy way, the svn checkout
svn co
40 matches
Mail list logo