I am trying to use the google.maps.places.Autocomplete() with out using its 
results directly into maps so is it allowed?

Let me explain this I am finally using the result to  compare the addresses 
in my drupal site and then based on it I am plotting the results on the map.

Let me expand 

I am using a drupal module and added some custom js application to it 

now what it does is it takes the users inputs which are address and 
distance and pulls all the locations with in the given distance using the 
given address as the reference point . once the locations(if present in the 
database) if there are any in  my site database which are in the near 
proximity of the given reference location are pulled they are plotted on 
the map. 

My question is the search box I have been using till now is just a normal 
input text field now I am planning on using an auto-complete feature I know 
that this can be done using 

the code   

var uiref1= document.getElementById('edit-proxydistance-search-distance');
var autocomplete = new google.maps.places.Autocomplete(uiref1);

where the edit-proxydistance-search-distance is the id of the text field I 
am using

Now I have 2 questions 

1.By not plotting on the map the exact address which the user is entering 
in the autocomplete search box am I violating the  terms of usage of MAPS 
API?


2. I am getting this error " google.maps.places.Autocomplete undefined " I 
can see it thru the firebug console the browser I am using is latest 
version of firefox.
It happens when ever the function get used or called in the code. Is it 
because I am using this function but not for exactly plotting the entered 
address.

If it is not the plotting issue and if it works even when plotting is not 
done then I believe I will have to recheck on the way I am using or calling 
the function.

Please help me in this regard any pointers are appreciated.
 


-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/6GrvkeWzC_wJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to