Loading...
 
Skip to main content

format error in geolocation parameters, in some local conventions

Status
Closed
Subject
format error in geolocation parameters, in some local conventions
Version
10.x
9.x
Category
  • Usability
Feature
Maps
Resolution status
New
Submitted by
flebas
Lastmod by
flebas
Rating
(0)
Description
French (at least) conventions use commas as decimal separator. This causes errors in parsing parameters when passing geolocation coordinates (Maps don't center on the good coordinates).
Files
  1. Tiki User Preferences
  2. Location
Solution

My solution was to avoid converting coordinate variables to 'float' type, in these files :
\lib\core\Tracker\Field\location.php
\tiki-user_preferences.php

Importance
5
Easy to solve?
4
Priority
20
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
4390
Created
Saturday 02 March, 2013 20:27:05 UTC
by flebas
LastModif
Saturday 06 July, 2024 10:21:44 UTC


Show PHP error messages