no markers with cggooglemaps2
Posted: Thu Oct 10, 2013 4:30 pm
by faglork
Hi!
cmsms 1.11.9 / CGGoogleMaps 0.98.1 / CGSimpleSmarty 1.7
jquery 1.8.1 / jquery ui 1.8.23
The map shows correctly (when I zoom in I can see that the adress is correct) but I get no marker.
Same when I use cggm2_add_dynpoint.
Any ideas?
Cheers,
Alex
Re: no markers with cggooglemaps2
Posted: Tue Oct 15, 2013 6:17 pm
by faglork
Does anybody use the cggooglemaps2 module?
Or are you all using the old cggooglemaps?
Can someone not/confirm this behavior?
Cheers,
Alex
Re: no markers with cggooglemaps2
Posted: Tue Nov 26, 2013 3:56 pm
by Masweb
Same problem over here!
Don't get any markers in CGGooglemaps2. Is this a bug?
Re: no markers with cggooglemaps2
Posted: Tue Jan 14, 2014 11:09 pm
by faglork
bump .....
Re: no markers with cggooglemaps2
Posted: Wed Jan 15, 2014 8:18 am
by staartmees
Add a bugreport in the Forge.
Re: no markers with cggooglemaps2
Posted: Wed Jan 15, 2014 1:04 pm
by faglork
staartmees wrote:Add a bugreport in the Forge.
So far, I don't even know whether it is a bug.
Heck, someone MUST be using this module? It is out for a while now. Can someone confirm that it works on his/her site? And maybe give a link?
I simply don't want to bother the developers as long as don't know where the problem is - my installation or the module.
Cheers,
Alex
Re: no markers with cggooglemaps2
Posted: Thu Jan 16, 2014 1:33 am
by Wishbone
I can't get it to work.. I still use the old one.
Re: no markers with cggooglemaps2
Posted: Thu Jan 16, 2014 9:19 am
by igners
Hello all
I have this problem also on 2 different sites. Im pretty sure its not something Im doing wrong.
Re: no markers with cggooglemaps2
Posted: Thu May 01, 2014 4:38 am
by smokeycam09
Hmm, this is strange, I have 2 servers (one for Development then Production),
appears fine on our Development server, but not on our live one. PHP same
version ect. Same copy of website. Now I have narrowed down the following output
of the javascipt created:
Development (showing)
$(document).ready(function(){
var obj = $('#cggm_map_1');
obj.cggm2({ 'name': 'Contact Page','default_icon': 'dd-end','type':
'roadmap','zoom': 14,'nav_controls': 1,'infowindow': 1,'scale_controls':
0,'sv_controls': 0,'type_controls': 1,'tooltip': 1,'sv_radius':
100,'type_control_option': 'DEFAULT','infowindow_trigger': 'click','directions':
0,'directions_dest': 'WINDOW','directions_units': 'IMPERIAL','directions_draw':
1,'sensor': 0,'sensor_center': 1,'sensor_marker': 0,'sensor_icon':
'dd-end-small','zoom_encompass': 'none','combine_points': 0,'combined_icon':
'airport','markers': [ { 'name': 'Town_and_Country_Realty','position': [
'-39.062056','174.101338' ],'icon': 'dd-end','title': 'Town and Country
Realty','bubbletext': 'Town and Country Realty<br />149D Mangorei Road<br />New
Plymouth' } ],'youareherestr': 'You are here','mapinstance': 1,'center':
'-39.062056, 174.101338','icons': { 'dd-end': { 'name': 'dd-end','url':
'modules/CGGoogleMaps2/icons/dd-end.png','anchor_x': 10,'anchor_y': 17
},'airport': { 'name': 'airport','url':
'modules/CGGoogleMaps2/icons/airport.png','anchor_x': 11,'anchor_y': 16
},'dd-end-small': { 'name': 'dd-end-small','url':
'modules/CGGoogleMaps2/icons/dd-end-small.png','anchor_x': 5,'anchor_y': 8 } }
});
});
Production (not showing):
$(document).ready(function(){
var obj = $('#cggm_map_1');
obj.cggm2({ 'name': 'Contact Page','default_icon': 'dd-end','type':
'roadmap','zoom': 14,'nav_controls': 1,'infowindow': 1,'scale_controls':
0,'sv_controls': 0,'type_controls': 1,'tooltip': 1,'sv_radius':
100,'type_control_option': 'DEFAULT','infowindow_trigger': 'click','directions':
0,'directions_dest': 'WINDOW','directions_units': 'IMPERIAL','directions_draw':
1,'sensor': 0,'sensor_center': 1,'sensor_marker': 0,'sensor_icon':
'dd-end-small','zoom_encompass': 'none','combine_points': 0,'combined_icon':
'airport','markers': [ { 'name': 'Town_and_Country_Realty','position': [
'-39.062056','174.101338' ],'icon': 'dd-end','title': 'Town and Country
Realty','bubbletext': 'Town and Country Realty<br />149D Mangorei Road<br />New
Plymouth' } ],'youareherestr': 'You are here','mapinstance': 1,'center':
'-39.062056, 174.101338','icons': { } });
});
Also, might be related?
Live server shows a debugging error of:
modules/CGGoogleMaps2/lib/class.cggm2_map_generator.php line 421
SELECT name,url,anchor_x,anchor_y FROM cms_module_cggooglemaps2_icons WHERE name
IN (dd-end,dd-end-small,airport)
NOTE: I have submitted this to the Modules Bug Report