Google Places does not load

2,166 views
Skip to first unread message

Spotvite

unread,
May 20, 2011, 2:15:54 AM5/20/11
to Google Maps JavaScript API v3
<script type="text/javascript" src="http://maps.google.com/maps/api/js?
libraries=places&sensor=false"></script>

When I am trying to do

service = new google.maps.places.PlacesService(map);
service.search(request, PlaceSearchcallback);

it gives me error message on firebug

google.maps.places is undefined
[Break On This Error] service = new
google.maps.places.PlacesService(map);

Anyone else is having this problem?

N.Aleksandrenko

unread,
May 20, 2011, 8:41:30 AM5/20/11
to google-map...@googlegroups.com
Places is available only with API key, it's in development stage.

N.Aleksandrenko

unread,
May 20, 2011, 8:41:53 AM5/20/11
to google-map...@googlegroups.com
Read the manual.

en4ce

unread,
May 20, 2011, 9:10:58 AM5/20/11
to Google Maps JavaScript API v3
oh what? not true!

--> www.youspots.com (i just used it for the suggestion box atm)

or here: http://www.youspots.com/tests/places.php (zoom to a city)

Spotvite

unread,
May 20, 2011, 3:57:26 PM5/20/11
to google-map...@googlegroups.com
fix3d,

they release it to public during google io, which i have attended the session

using following guide

http://code.google.com/apis/maps/documentation/javascript/places.html
Reply all
Reply to author
Forward
0 new messages