Skip to content

Not getting Latitude and Longitude from Place Autocomplete method. #3

@deepaks-gintaa

Description

@deepaks-gintaa

Hi Developers,

When we're calling the openPlaceAutocomplete method :-
try {
ELocation eLocation = await openPlaceAutocomplete(PlaceOptions(enableTextSearch: true,hint: "search Location"));
print(json.encode(eLocation.toJson()));
} on PlatformException {}

We're getting following response :-
{
"eLocation": {
"type": "HOUSE_NUMBER",
"typeX": 0,
"addr": "Kestopur, New Town, West Bengal, 700102",
"y": null,
"x": null,
"mapplsPin": "OJTP5L",
"entryLatitude": null,
"entryLongitude": null,
"placeName": "Gintaa Tower",
"alternateName": "",
"user": null,
"keywords": [
"LCSIHS"
],
"addressTokens": null,
"p": 0,
"orderIndex": 5,
"distance": null
}
}

We're getting not getting any co-ordinate values. We're getting "entryLatitude" & "entryLongitude" as null. Can you please guide us to how get co-ordinate values of a searched location?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions