Skip to content

Has conflict with google map #93

@tazik561

Description

@tazik561

When I am using this library with flutter google map in 1 page and I want to get new location and move camera I get this error:

Caught error: InvalidValueError: not a LatLng or LatLngLiteral with finite coordinates: in property lat: not a number

after a lot s of investigation I got the reason is this package. when I removed this package and directly I used Google Place API my issue was solved but when I used this package to get a new location I had the same issue. On the Chrome console, I have these errors:

Screenshot 2024-08-09 at 9 01 01 AM

I also added my config in my HTML :

    <script async
            src="https://maps.googleapis.com/maps/api/js?key=MyKey&loading=async&callback=Function.prototype">
    </script>

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions