Getting a list of cities

33 views
Skip to first unread message

Austin Gabel

unread,
Oct 26, 2011, 5:09:31 PM10/26/11
to google-map...@googlegroups.com
I only want to show a list of cities with their State.  I do not want addresses to be available to the user.  Is this possible?

geoco...@gmail.com

unread,
Oct 26, 2011, 5:54:11 PM10/26/11
to Google Maps JavaScript API v3
On Oct 26, 2:09 pm, Austin Gabel <aga...@gmail.com> wrote:
> I only want to show a list of cities with their State.  I do not want
> addresses to be available to the user.  Is this possible?

Sure it is possible to show the list. Do you have the data to do
that? Showing a list and not having that data available to the user
is not possible (if they can see it the data is available to them).

That functionality is not part of the Google Maps Javascript API v3
(the topic of this group).

-- Larry

davie strachan

unread,
Oct 27, 2011, 8:28:47 AM10/27/11
to Google Maps JavaScript API v3
Hi
What country??
Not all countries have states
It helps if you can be more specific in your questions.
Regards Davie

On Oct 26, 10:54 pm, "geocode...@gmail.com" <geocode...@gmail.com>
wrote:

Austin Gabel

unread,
Oct 27, 2011, 9:01:38 AM10/27/11
to google-map...@googlegroups.com
I want a list of US states.  I have the autocomplete set up and working properly on my text box but it is displaying street names or business names in some cases along with cities.  I only want results in the format of "city, state".  Is there a way to filter out the results that I don't want?



--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.


Reply all
Reply to author
Forward
0 new messages