how do I tell Google Maps JavaScript API v3 to use Finnish (or Swedish) characters? -
I try to query LatLong-coordinates from a Finnish address with Google Maps geocoder. The objective is to create a marker on the map where the address points. It works with English characters so far, but the Finnish (and Swedish) letter 'A, O, One' causes the problem; I have found this:
, but it does not help.
For example, there is no problem in this address:
"MannerHiniti 10, Helsinki, Finland"
But this one Here is my code:
Geocoder = New google.maps.Geocoder (); Geocoder.geocode ({'address': address}, function (result, status) {if (status == google.maps.GeocoderStatus.OK) {... ... ... doing something ...
I also tried with these parameters but did not work:
Geocoder = new google.maps.Geocoder (); geocoder.geocode ({'address' : Address, 'field': 'FI' // I also tried with 'language': 'fi'}, work (result, status) {if (condition == google.maps.GeocoderStatus.OK) {.. . ... // Do something ...
The API in use is Google Maps Javascript API v3. ()
(Or how to tell this API to use? Swedish) character?
When you use Google js files If you include, try to and try to add language = fi
localize.
Comments
Post a Comment