Skip to content

Using google's 'Places (New)' Api #411

@sunnylawn

Description

@sunnylawn

Using Simple Map + Craft 5, we were unable to get the search field working. We were getting 'This API project is not authorized to use this API. Places API error: ApiNotActivatedMapError'. The API key was enabled for all the right services and domains etc. When we switched this to Key an older project key everything worked, the issue seems to be the way that google's new 'Places API (new)' is working compared to the older legacy version (which is no longer able to be enabled on new projects.

Using the new version results in maps working, but the search function essentially being dead, erroring in the JS console.

Not sure if this is something that needs changing on the simplemaps end?

Side note: can we have a Craft 5 issue template?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions