ric2016/openstreetmap_hooked

also check in hierarchy

Opened this issue · 1 comments

"The module doesn’t seem to locate places unless all components of the place name are present in the place hierarchy
For example, I have a location "Moordown, Buttermere, Wiltshire, England” but I’ve only entered the location data for "Buttermere, Wiltshire, England”. GoogleMaps seems to ignore the first component when this occurs"

The check should rather be made on the caller's side though - The caller may not always be interested in inexact coordinates from a parent place.
(or add a parameter to the hook method)