Images not on map (solution)
-
In functions.php the values for longitude and latitude are not always in the right Format. It seems that in non-english counties (here: Germany), the decimal seperator is in the local local Format (here: ,) and not a dot.
I added the following code in line 207 of functions.php, right after the Definition of $geo[‘longitude’]:
$geo['latitude'] = str_replace (',','.',$geo['latitude']); $geo['longitude'] = str_replace (',','.',$geo['longitude']);Now it works fine.
— Jan
The topic ‘Images not on map (solution)’ is closed to new replies.