This namespace offers utilities for formating formatting address data. The functions defined here work with the address object structure supported by the Places API.
getLocationAddressLines
(placeObject)
: Object
|
This function returns address lines for the place object provided by the caller. |
getLocationFormattedAddress
(placeObject)
: String
|
This function returns a formatted address structure for a specific Place object supplied by the caller. |
getLocationAddressLines
(placeObject)
: Object
nokia.places.placesManager.getPlaceData({
placeId: '250u09wh-83d4c5479b7c4db9836602936dbc8cb8',
onComplete: function (data) {
var formattedAddress = nokia.places.data.addressFormatter.getLocationAddressLines(data);
}
});
placeObject
getLocationFormattedAddress
(placeObject)
: String
nokia.places.placesManager.getPlaceData({
placeId: '250u09wh-83d4c5479b7c4db9836602936dbc8cb8',
onComplete: function (data) {
var formattedAddress = nokia.places.data.addressFormatter.getLocationFormattedAddress(data);
}
});
placeObject
Copyright © 2011 Nokia. All rights reserved. Terms and Conditions