simplemap icon indicating copy to clipboard operation
simplemap copied to clipboard

TypeError when address isn't found

Open ragnarfrosti opened this issue 2 years ago • 2 comments

The function nomalizeLocation throws an error if the $location is a string and the method self::latLngFromAddress doesn't find any result and returns null

Screenshot 2023-10-12 at 14 47 34

ragnarfrosti avatar Oct 12 '23 12:10 ragnarfrosti

I'm also hitting this issue - when searching a location that does not exist, this is thrown.

Screenshot 2023-12-13 at 11 17 38

MattWilcox avatar Dec 13 '23 11:12 MattWilcox

PS; Having spotted that there are a number of open issues related to this, and even a pull-request fix that's been around for a while unaccepted... if Ether are wanting to retire from maintaining this ...

https://discord.com/channels/456442477667418113/575387375610626063/1184480879964323860

MattWilcox avatar Dec 13 '23 13:12 MattWilcox