I have improved the problem myself with the help of my coder. You have some problems with your php coding style: there are 3 files instead of 1 with the floatVal. To fix this problem and all future problems you may include (I give you free of cost permission.) the following changes to your code. Files: /admin/applications_addon/other/membermap/modules_public/membermap/map.php /admin/applications_addon/other/membermap/modules_public/membermap/facebook.php /admin/applications_addon/other/membermap/modules_admin/membermap/cmarkers.php In all this files you should find: private function _floatVal($floatString)
{
$floatString = floatval($floatString);
if($floatString)
{
$localeInfo = localeconv();
$floatString = str_replace($localeInfo["thousands_sep"], "", $floatString);
$floatString = str_replace($localeInfo["decimal_point"], ".", $floatString);
}
return $floatString;
}
And replace with: private function _floatVal($floatString)
{
if($floatString)
{
$localeInfo = localeconv();
$floatString = str_replace($localeInfo["mon_thousands_sep"], "", $floatString);
$floatString = str_replace($localeInfo["mon_decimal_point"], ".", $floatString);
$floatString = str_replace($localeInfo["thousands_sep"], "", $floatString);
$floatString = str_replace($localeInfo["decimal_point"], ".", $floatString);
$floatString = str_replace(' ', "", $floatString);
$floatString = str_replace('`', "", $floatString);
$floatString = str_replace(',', ".", $floatString);
}
return $floatString;
}
Recommendations: It is better to keep lat and lng in the database in float and format this data during the output. There is function nuber_format which more appropriate for this situations. PS That is why you can not win Russian still :smile: