Markers not showing in IE7 & IE8 (PM2.0.2)

Phoca Maps - displaying maps in Joomla! CMS
webloem
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 01 Nov 2011, 16:41

Markers not showing in IE7 & IE8 (PM2.0.2)

Post by webloem »

Problem:

Markers are not showing in IE7 & IE8 when using custom icons.

Debug:
After debug the code the following was producing an error (the comma at the end does not belong):

Code: Select all

 var phocaImage3PlgPM1 = new google.maps.MarkerImage('http://maps.google.com/mapfiles/ms/icons/blue-dot.png');
 var phocaImageShape3PlgPM1 = {
   coord: [0,0,25,30],
   type: 'rect',
 };
Solution:
File administrator/components/com_phocamaps/helpers/phocamapsmap.php Line 433 change from

Code: Select all

if (isset($iObjSh[0])) {$js.='   type: \''.$iObjSh[0].'\','."\n";} else { $js.=' \'\',';}
to

Code: Select all

if (isset($iObjSh[0])) {$js.='   type: \''.$iObjSh[0].'\''."\n";} else { $js.=' \'\'';}
Problem solved.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48536
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Markers not showing in IE7 & IE8 (PM2.0.2)

Post by Jan »

Hi, thank you for this info, this is known issue, the problem will be solved in 2.0.3 (is still in waiting modifications :-( )

Jan
If you find Phoca extensions useful, please support the project
Post Reply