Closed (fixed)
Project:
Location
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2007 at 00:58 UTC
Updated:
28 Dec 2008 at 21:58 UTC
Hi there.
I was wondering if it is possible to get the location module to geocode an address even though only a city field is specified. (Center the map to the center of the city. Or even when a street name is given and not the street address, center the map to the center of the street?).
Is this possible to do that by lowering the accuracy & how can the accuracy be lowered?
Any help would be much appreciated,
Cheers Nash
Comments
Comment #1
nevets commentedLook in modules/location/supported/location.us.inc for the function location_geocode_us_google() and the line
Change the test to allow for a lowet accuracy code (my memory says you want to allow down to 5).
Note you will need at least city and state.
Comment #2
bdragon commentedThis works in 3.x, it allows accuracy down to 3.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #4
summit commentedIs this also working for other countries like france or italy?
Thanks a lot in advance for your answer!
greetings,
Martijn