Events Made Easy › Forums › How do I … › Map: Disable location balloon?
Tagged: disable, eme.css, google, location balloon, map
- This topic has 6 replies, 2 voices, and was last updated 14 years ago by
Anonymous.
-
AuthorPosts
-
Mon 24 Oct 2011 at 21:47 #43580
Anonymous
InactiveWondering if there is a way to disable the notification balloon on top of the Google Map?
And maybe a way to customize the default zoom level? I am using the #_MAP attribute with a custom eme.css stylesheet that makes the location balloon only 250×300 pixels and thus too small with the balloon over top of it. Any help?
Here is what it currently looks like: http://img155.imageshack.us/img155/1714/screenshot20111024at242.png
What I would ideally like to see: http://img64.imageshack.us/img64/1714/screenshot20111024at242.png
Any help (with either request) would be greatly appreciated!
A
Tue 25 Oct 2011 at 19:15 #48960Franky
KeymasterFor the balloon: it is not a configuration option, but you can disable it by editing the javascript file js/eme_location_map.js, and comment out (or remove) the line 119 that says
this.infowindow.open(this.map,this);
For zooming: normally intelligent zooming is used, but you can try changing in the same file line 142, that says:
this.setZoom(14);
Sat 29 Oct 2011 at 22:22 #48961Anonymous
InactiveFrank, in that case — the intelligent zooming is fine by me.
I commented out line 119 in js/eme_location.map.js that reads “this.infowindow.open(this.map,this);” but it didn’t seem to make any difference.
Let me know if you have any advice.
Thanks,
A
Wed 2 Nov 2011 at 18:46 #48962Anonymous
InactiveAny word on this Franky?
Wed 2 Nov 2011 at 23:25 #48963Franky
Keymastersorry, I gave the line for the global map. For single events, comment out line 197 that says
s_infowindow.open(s_map,s_marker);Thu 10 Nov 2011 at 23:18 #48964Anonymous
InactiveThanks Franky,
That worked great, but then I have switched over to Events Made Easy — first disabling Events Manager Extended and then deleting it once the new one had been activated — and had noticed that the map that had previously worked now shows up as nothing more than a green box.
Any idea how to fix this?
Thanks,
A
Thu 10 Nov 2011 at 23:21 #48965Anonymous
InactiveActually — I turned off the Map setting OFF and then ON again, and that seemed to have done it.
Appreciate all your help and you may consider this one solved and the user happy!
A
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.