Ticket #3022 (closed defect: fixed)
|Reported by:||heb||Owned by:||geocoding@…|
I'm using MooTools? More's 1.2 Request.JSONP class for retrieving reverse geocoded location data. For assiging JSON-P requests to actual mootools request callbacks (e.g. onSuccess) the mootools class uses a mapper function (Request.JSONP.request_map.request_0). The problem is that nominatim ignores the value of the json_callback GET-parameter if this value contains one or more periods. In effect the nominatim json search doesn't work the MooTools?' build-in way - as a workaround I had to define my own function (without periods), which breaks the elegant classes concept of MooTools?.