A Google Map without a Map

52 views
Skip to first unread message

Erik Ehrhardt

unread,
Dec 22, 2011, 4:52:09 AM12/22/11
to google-map...@googlegroups.com
Would it be possible to have Google Maps list a series of categorized places instead?

For example, I want a list of restaurants near a certain defined place. The parameters of this place consists out of a Country and a zipcode, or a Country, a town and address.

Like the text on left side of the Google Maps interface. In this case, restaurants in the vicinity of Hoogeveen, Netherlands.

Barry Hunter

unread,
Dec 22, 2011, 8:40:36 AM12/22/11
to google-map...@googlegroups.com
See this section in the Places API docs
http://code.google.com/apis/maps/documentation/places/#Limits

> --
> 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/-/nzx_lDudey4J.
> 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.

Erik Ehrhardt

unread,
Jan 1, 2012, 6:27:40 AM1/1/12
to Google Maps JavaScript API v3
Yes? I just read it. So how can it be done?

Just a list in text, and without an actual map.

On 22 dec 2011, 14:40, Barry Hunter <barrybhun...@gmail.com> wrote:
> See this section in the Places API docshttp://code.google.com/apis/maps/documentation/places/#Limits

Rossko

unread,
Jan 1, 2012, 10:41:53 AM1/1/12
to Google Maps JavaScript API v3
> Yes? I just read it. So how can it be done?

Did you read the rest of the page at all? Which part are you having
difficulty with?

Erik Ehrhardt

unread,
Jan 2, 2012, 6:47:36 AM1/2/12
to Google Maps JavaScript API v3
Yes I read the whole page, and I have to create an URL for a JSON /
XML response. But how do I translate that into flat html in a div?

Rossko

unread,
Jan 2, 2012, 7:07:19 AM1/2/12
to Google Maps JavaScript API v3
> Yes I read the whole page, and I have to create an URL for a JSON /
> XML response. But how do I translate that into flat html in a div?

Presuming you are trying to do this client-side (you haven't said),
you won't be able to use XML. That narrows it down to "how do I parse
and display JSON" which isn't really maps related. The reference page
for the Places API does offer this resource for initial help with that
http://code.google.com/apis/maps/documentation/webservices/index.html#ParsingJSON
here's more general stuff
http://code.google.com/apis/gadgets/docs/remote-content.html#Fetch_JSON

Erik Ehrhardt

unread,
Jan 2, 2012, 7:10:47 AM1/2/12
to Google Maps JavaScript API v3
The request will come from a homepage with a few variables in a
database. The Town, Country, Zipcode will be in the request url. It
will be handled in PHP, but I am really not that good with javascript.
Thanks for the swift replies though... I will have a look at the
mentioned pages and hope it will be enough to get me on my way :)

On 2 jan, 13:07, Rossko <ros...@culzean.clara.co.uk> wrote:
> > Yes I read the whole page, and I have to create an URL for a JSON /
> > XML response. But how do I translate that into flat html in a div?
>
> Presuming you are trying to do this client-side (you haven't said),
> you won't be able to use XML.  That narrows it down to "how do I parse
> and display JSON" which isn't really maps related.  The reference page
> for the Places API does offer this resource for initial help with thathttp://code.google.com/apis/maps/documentation/webservices/index.html...
> here's more general stuffhttp://code.google.com/apis/gadgets/docs/remote-content.html#Fetch_JSON

Erik Ehrhardt

unread,
Jan 5, 2012, 6:23:26 AM1/5/12
to Google Maps JavaScript API v3
As I suspected, I do not understand all the code displayed on those
pages. I expect JSON would be the way to go for me, but do not know
exactly how to get it all working. I know a small bit about JQuery,
maybe I can get some information there, but I also do not get the
whole setup with the Google Maps API key, it's a complete maze...
Maybe the Google people know exactly where to go, but for me it's all
way to technical. :/

On 2 jan, 13:07, Rossko <ros...@culzean.clara.co.uk> wrote:
> > Yes I read the whole page, and I have to create an URL for a JSON /
> > XML response. But how do I translate that into flat html in a div?
>
> Presuming you are trying to do this client-side (you haven't said),
> you won't be able to use XML.  That narrows it down to "how do I parse
> and display JSON" which isn't really maps related.  The reference page
Reply all
Reply to author
Forward
0 new messages