Looking to use this service in a JavaScript application? Check out the Places Library of the Google Maps API v3.
The Google Places API is a service that returns information about Places — defined within this API as establishments, geographic locations, or prominent points of interest — using HTTP requests. Place requests specify locations as latitude/longitude coordinates.
Introducing the API
Authentication
Places API Enterprise Customers
Usage Limits and Requirements
Introducing the API
The following Place requests are available:
Place Searches return a list of Places based on a user's location or search string.
Place Details requests return more detailed information about a specific Place, including user reviews.
Place Actions allow you to supplement the data in Google's Places Database with data from your application.
Place Photos gives you access to the millions of Place related photos stored in Google's Place database.
Place Autocomplete can be used to automatically fill in the name and/or address of a place as you type.
Query Autocomplete can be used to provide a query prediction service for text-based geographic searches, by returning suggested queries as you type.
Each of the services is accessed as an HTTP request, and returns either an JSON or XML response. All requests to a Place service must use the https:// protocol, and include an API key.
Authentication
The Google Places API uses an API key to identify your application. API keys are managed through the Google APIs Console. You'll need your own server API key before you can begin using the API. To activate the Places API and create your key:
Visit the Google APIs Console at https://code.google.com/apis/console and log in with your Google account.
A default project called API Project is created for you when you first log in to the APIs Console. You can use the project, or create a new one by clicking the API Project button at the top of the window and selecting Create. Google Maps API for Work customers must use the API project created for them as part of their Google Places API for Work purchase.
Click the Services link in the left-hand navigation panel.
Click the status switch (the on/off button) next to the Places API entry. The switch slides to ON.
Click API Access in the left-hand navigation panel.
Click Create new Server key.
Enter one or more server IP addresses if you wish to restrict the servers that can send API requests.
Click Create. Your API key appears under the heading Key for server apps (with IP locking).
Note: The Places API does not work with an Android or iOS API key.
Places API Enterprise Customers
Some features of the Places API — such as review summaries, and certain request filters — requires additional licensing, available as part of a Places API enterprise license.
You can verify that your account has been enabled for Places API enterprise features as follows:
Visit the APIs Console and log in with your Google Account.
Select the project that was created for you when you signed up.
The project name will start with Google Maps API for Work.
Click the Services link from the left-hand menu.
The Places API - Zagat Content service should be enabled. Note that only the initial owner of the project will be able to see the Places API - Zagat Content service.
The Places API service should be disabled.
Usage Limits and Requirements
All applications that use the Google Places API or Google Place Autocomplete must adhere to the requirements described in the Developer Policies and the Google Maps/Google Earth API Terms of Service. The Google Places API and Google Place Autocomplete share a usage quota as described in the Usage Limits and Billing documentation.
Let me share my findings before asking the question.
Google Places API documentation says: "Note: To use the Google Places API you must first request a Maps API client ID and cryptographic key which you must use to sign your request URLs. For information on signing URL requests, please see the URL Authentication documentation within the Web Service APIs home page."
The Google Places API is still in developer preview. http://code.google.com/apis/maps/documentation/places/
We need a Client ID (required) and a Signature (required) to use the Google Places API. http://code.google.com/apis/maps/documentation/webservices/index.html#URLSigning
And, to get the Signature, we need a Google Adsense account to get Adsense publisher id (required). http://gmaps-ws-console.appspot.com/
You can find the requirements to use the Google Places API here. http://code.google.com/apis/maps/documentation/places/index.html#Requirements
The Signup page for Google Maps API suggest that, "Your service must be freely accessible to end users. To use Google mapping technology in other types of applications, please use Google Maps API Premier. See this FAQ for more information." http://code.google.com/intl/it-IT/apis/maps/signup.html
Now, here's what i want to know.
I'm planning on using Google Places API in my iOS application. I don't want to use Adsense. Can i still access the Google Places API for free? How?
If i can't access the Google Places API for free, what are the costs associated with using this service, and the available payment models? I wasn't able to find any particular resources for this information.
Here's a specific scenario. What if my iOS application is free. The free version uses Google Places API. But... my iOS application has some additional features which are exposed using In-app Purchase (paid features). The paid features do not use Google Places API. Is this acceptable?
Places everybody, the show is about to begin...
Google I/O 2011 kicked off today, and we have a great line up of sessions on the Geo track. First up this morning was a session on "Connecting people with places", in which we were delighted to announce general availability of the Google Places API.
This represents the culmination of the Developer Preview launched last year, shortly after we introduced the Places API at Google I/O 2010. Interest in the Preview was overwhelming and we have been amazed by the innovative use cases suggested for the API. The developers we worked with provided a great deal of extremely valuable feedback on all aspects of the API, including features, performance, usability, and terms of use.
We’ve been working hard to implement the recommendations we received during the Preview. As a result the service launching today includes many new features, most of which are a direct result of this developer feedback:
A globally consistent type scheme for Places, spanning more than 100 types such as bar, restaurant, and lodging
Name and type based query support
A significantly simpler key based authentication scheme
Global coverage across every country covered by Google Maps
Google APIs Console integration, which provides group ownership of projects, key management, and usage monitoring
Instant reflection of new Places submitted by an app in subsequent searches made by that app, with new Places shared with all apps after moderation
Real time reranking of search results based on current check-in activity, so that Places that are currently popular are automatically ranked higher in searches by your app
In addition to these changes we’re also adding a companion Autocomplete service to the Places API, which predicts the Places a user might be looking for as they type. This service is based on the same technology that powers the search field on the Google Maps website, and can dramatically reduce the amount of typing needed when searching for a known place by name, which is particularly valuable on mobile devices.
Both the Places API Search service and the Places API Autocomplete service are offered as XML/JSON REST based web services. These APIs are currently both in Google Code Labs, which means they are not yet included in Maps API Premier. However we are working to graduate the APIs from Code Labs in the near future, at which point the service will also be offered to Maps API Premier developers.
To get started, please follow the instructions in the documentation for obtaining an APIs console key, and enabling the Places API on that key. If you have joined us at Google I/O this year, come along to our session on "Building Location Based apps using Google APIs" at 3pm on Wednesday, in which our Tech Lead, Marcelo Camelo, will be diving into the API in more detail.
In addition to these web services we are also launching a new places library in the Google Maps API which includes:
A PlacesService that allows Places API queries to be issued by Maps API applications
A class that can attach Autocomplete behaviour to any text field on a web page, with the predicted places biased to a specific location or map viewport
The below demo uses the PlacesService to display Places on a map in response to changes in the map view port. An individual Place can also be mapped using the Autocomplete enabled search field:
If you would like to provide any feedback about the Places API or Maps API, or you have suggestions for improvements or new features, please let us know using the Maps API Issue Tracker. You can also discuss our APIs using the Maps API Developer Forums.
We’re very excited to make all of these great Places services available to all of our Maps API developers today. We know many of you have been eagerly awaiting access to the Places API, and we appreciate your patience. Places bridge the divide between the way that maps and computers represent the world, and the way that people relate to it. We believe that the launch of the Places API will spark a whole new wave of innovative location based application development, both on mobile and desktop, and we can’t wait to see how it is used.
Posted by Thor Mitchell, Product Manager, on behalf of the Google Maps API team
These limits do not apply to the Places JavaScript Library, which does not require a
ต้องการใช้บริการนี้ในการใช้ JavaScript เช็คสถานไลบรารีของตัว Google Maps API v3API สถาน Google เป็นบริการที่ส่งกลับข้อมูลเกี่ยวกับสถานซึ่งกำหนดเป็นสถานประกอบการ สถานทางภูมิศาสตร์ หรือจุดเด่นที่น่าสนใจภายใน API นี้ — ใช้ร้องขอ HTTP คำขอระบุตำแหน่งเป็นพิกัดละติจูด/ลองจิจูดAPI แนะนำรับรองความถูกต้องลูกค้าองค์กร API สถานที่จำกัดการใช้งานและความต้องการAPI แนะนำมีการร้องขอสถานที่ต่อไปนี้:ค้นหากลับรายการของสถานที่ตามตำแหน่งหรือค้นหาสตริงที่ของผู้ใช้ขอรายละเอียดสถานที่ส่งคืนรายละเอียดเพิ่มเติมเกี่ยวกับสถานที่เฉพาะเจาะจง รวมรีวิวจากผู้ใช้การดำเนินการที่ช่วยให้คุณสามารถเติมข้อมูลในฐานข้อมูลของ Google สถานที่ข้อมูลจากโปรแกรมประยุกต์ของคุณภาพถ่ายสถานที่ให้คุณเข้าถึงคนนับล้านเกี่ยวข้องภาพเก็บในฐานข้อมูลของ Google สถานที่ทำให้สมบูรณ์อัตโนมัติสามารถใช้เพื่อกรอกในชื่อหรือที่อยู่ของตำแหน่งคุณพิมพ์สามารถใช้แบบสอบถามสมบูรณ์ให้บริการทายผลแบบสอบถามหาข้อทางภูมิศาสตร์ โดยความสอบถามแนะนำขณะที่คุณพิมพ์แต่ละบริการเข้าถึงเป็นการร้องขอ HTTP และเจซันหรือ XML ตอบกลับ ทั้งหมดร้องขอการบริการต้องใช้โพรโทคอล https:// และรวมถึงคีย์การ APIรับรองความถูกต้องAPI สถาน Google ใช้คีย์การ API เพื่อระบุโปรแกรมประยุกต์ของคุณ มีจัดการ API คีย์ผ่านคอนโซล APIs Google คุณจำเป็นต้องคีย์ API ของเซิร์ฟเวอร์ก่อนที่คุณสามารถใช้ API การ การเรียกใช้ API แบบสถาน และสร้างรหัสของคุณ:เยี่ยมชม Google APIs คอนโซลที่ https://code.google.com/apis/console และเข้าสู่ระบบ ด้วยบัญชี Google ของคุณโครงการเริ่มต้นที่เรียกว่า API โครงการถูกสร้างขึ้นสำหรับคุณเมื่อคุณต้องเข้าสู่ระบบคอนโซล APIs คุณสามารถใช้โครงการ หรือสร้างใหม่ โดยการคลิกปุ่มโครงการ API ที่ด้านบนของหน้าต่าง และเลือกสร้าง Google Maps API สำหรับลูกค้าที่ทำงานต้องใช้โครงการ API ที่สร้างพวกเขาเป็นส่วนหนึ่งของ API สถานของ Google สำหรับงานซื้อคลิกการเชื่อมโยงของบริการในแผงนำทางซ้ายคลิกสลับสถานะ (เปิด/ปิดปุ่ม) ถัดจากรายการสถาน API ภาพนิ่งสลับการ ONคลิกเข้าถึง API ในแผงนำทางซ้ายคลิกสร้างคีย์เซิร์ฟเวอร์ใหม่ป้อนอยู่ IP ของเซิร์ฟเวอร์อย่าง น้อยหนึ่งถ้าคุณต้องการจำกัดการเซิร์ฟเวอร์ที่สามารถส่งคำขอ APIคลิกสร้าง รหัส API ของคุณปรากฏภายใต้หัวข้อคีย์สำหรับแอพพลิเคชันเซิร์ฟเวอร์ (กับ IP ล็อก)หมายเหตุ: API สถานทำงานกับคีย์ API การ Android หรือ iOSลูกค้าองค์กร API สถานที่คุณลักษณะบางอย่างของ API สถาน — เช่นทบทวนสรุป และตัวกรองคำขอบาง — ต้องเติมอนุญาตให้ใช้สิทธิ์ ใช้เป็นส่วนหนึ่งของใบอนุญาตองค์กรสถาน APIคุณสามารถตรวจสอบว่า บัญชีของคุณถูกเปิดใช้คุณลักษณะองค์กรสถาน API เป็นดังนี้:ชมคอนโซล APIs และล็อก ด้วยบัญชี Google ของคุณเลือกโครงการที่ถูกสร้างขึ้นสำหรับคุณเมื่อคุณลงทะเบียนไว้ชื่อโครงการจะเริ่มต้น ด้วย Google Maps API สำหรับการทำงานคลิกการเชื่อมโยงของบริการจากเมนูด้านซ้ายมือควรเปิดใช้งาน API - เนื้อหา Zagat บริการสถาน หมายเหตุว่า เฉพาะเจ้าของเริ่มต้นของโครงการจะสามารถเห็นสถาน API - บริการเนื้อหา Zagatควรใช้งาน API สถานบริการจำกัดการใช้งานและความต้องการโปรแกรมประยุกต์ทั้งหมดที่ใช้ API Google สถานหรือทำให้สมบูรณ์อัตโนมัติ Google ต้องปฏิบัติตามความต้องใน Google แผนที่/Google Earth API เงื่อนไขการให้บริการและนโยบายการพัฒนา API Google สถานและทำให้สมบูรณ์อัตโนมัติ Google ร่วมโควต้าการใช้งานในการจำกัดการใช้งานและเอกสารเรียกเก็บเงินให้ฉันร่วมผลการวิจัยของฉันก่อนที่จะถามคำถามเอกสาร API Google สถานกล่าวว่า: "หมายเหตุ: การใช้สถานของ Google API คุณต้องแรกขอ ID แผนที่ API ไคลเอ็นต์และคีย์การเข้ารหัสลับที่คุณต้องการเข้าสู่ระบบการร้องขอ Url สำหรับข้อมูลเกี่ยวกับการลงชื่อในคำขอ URL กรุณาดูที่รับรองความถูกต้อง URL เอกสารภายในโฮมเพจเว็บบริการ APIs"API สถาน Google ยังเป็นนักพัฒนาตัวอย่าง http://code.google.com/apis/maps/documentation/places/เราต้องการรหัสลูกค้า (จำเป็น) และลายเซ็น (จำเป็น) การใช้ API สถาน Google http://code.google.com/apis/maps/documentation/webservices/index.html#URLSigningก ได้รับลายเซ็น เราต้องมีบัญชี Google กูเกิลแอดเซนส์เพื่อรับรหัสผู้เผยแพร่ของกูเกิลแอดเซนส์ (จำเป็น) http://gmaps-ws-console.appspot.com/คุณสามารถค้นหาความต้องการใช้ API สถาน Google นี่ http://code.google.com/apis/maps/documentation/places/index.html#Requirementsแนะนำหน้าลงทะเบียนสำหรับ Google Maps API ที่ "บริการของคุณต้องสามารถเข้าถึงผู้ใช้ได้อย่างอิสระ การใช้เทคโนโลยีการทำแผนที่ Google ในโปรแกรมประยุกต์ชนิดอื่น ๆ โปรดใช้ Google Maps API พรีเมียร์ ดู FAQ นี้สำหรับข้อมูลเพิ่มเติม " http://code.google.com/intl/it-IT/apis/maps/signup.htmlตอนนี้ นี่คือสิ่งที่ฉันต้องการทราบฉันวางแผนในการใช้ API Google สถานที่ในโปรแกรมประยุกต์ของฉัน iOS ฉันไม่ต้องการใช้กูเกิลแอดเซนส์ ฉันยังคงสามารถเข้าถึง API สถาน Google ฟรี อย่างไรถ้าฉันไม่สามารถเข้าถึง API สถาน Google ฟรี สิ่งที่เป็นต้นทุนที่เกี่ยวข้องกับการใช้บริการนี้ และรูปแบบการชำระเงิน ฉันไม่สามารถค้นหาทรัพยากรใด ๆ โดยเฉพาะสำหรับข้อมูลนี้นี่คือสถานการณ์สมมติที่เฉพาะเจาะจง ถ้าโปรแกรมประยุกต์ของฉัน iOS มีฟรี รุ่นฟรีใช้ API Google สถาน แต่...ฉันใช้ iOS มีคุณลักษณะบางอย่างเพิ่มเติมซึ่งเปิดใช้ใน app ซื้อ (จ่ายเงินลักษณะ) ลักษณะการทำงานได้รับค่าจ้างใช้ API Google สถาน เป็นที่ยอมรับนี้หรือไม่สถานที่ทุกคน การแสดงจะเริ่มต้น...Google I/O 2011 เตะปิดวันนี้ และเรามีเส้นดีขึ้นรอบเวลาในการติดตามแก้ว ครั้งแรกค่าเช้านี้ถูกเซสชันบน "เชื่อมต่อกับคนที่มีสถาน" ในที่ ที่เรามีความยินดีที่จะประกาศความพร้อมทั่วไปของ Google Places APIนี้หมายถึงสุดยอดของตัวอย่างนักพัฒนาเปิดตัวปี ไม่ช้าหลังจากที่เราแนะนำ API สถานที่ที่ Google I/O 2010 สนใจในตัวอย่างที่ถูกครอบงำ และเราได้รับประหลาดใจ โดยกรณีใช้นวัตกรรมที่แนะนำสำหรับ API การ นักพัฒนาที่เราทำงานกับให้ข้อเสนอแนะที่มีคุณค่ามากมากในทุกด้านของ API คุณลักษณะ ประสิทธิภาพ ใช้งาน และเงื่อนไขการใช้เราได้ทำงานอย่างหนักเพื่อนำคำแนะนำที่เราได้รับในระหว่างการแสดงตัวอย่าง ดังนั้น การเปิดใช้บริการวันนี้มีหลายคุณลักษณะใหม่ ซึ่งส่วนใหญ่เป็นผลโดยตรงของผลป้อนกลับนี้นักพัฒนา:แบบชนิดที่สอดคล้องกันทั่วโลกในสถาน รัฐมากกว่า 100 ชนิดเช่นบาร์ ร้านอาหาร และพักชื่อและชนิดใช้สนับสนุนแบบสอบถามคีย์ง่ายมากตามโครงร่างการรับรองความถูกต้องครอบคลุมทั่วโลกในทุกประเทศที่ครอบคลุม โดย Google MapsGoogle APIs คอนโซลรวม ซึ่งเป็นกลุ่มเจ้าของโครงการ การจัดการคีย์ และตรวจสอบการใช้งานสถานที่ใหม่ที่เขียน โดย app ค้นหาต่อไปทำ โดยที่ app กับสถานใหม่ที่ใช้ร่วมกันกับแอพพลิเคชันทั้งหมดหลังจากดูแลสะท้อนทันทีเวลาจริง reranking หาตามในกิจกรรมปัจจุบัน เพื่อให้สถานที่ได้รับความนิยมอยู่ในขณะนี้มีโดยอัตโนมัติการจัดอันดับสูงในการค้นหา โดยโปรแกรมประยุกต์ของคุณIn addition to these changes we’re also adding a companion Autocomplete service to the Places API, which predicts the Places a user might be looking for as they type. This service is based on the same technology that powers the search field on the Google Maps website, and can dramatically reduce the amount of typing needed when searching for a known place by name, which is particularly valuable on mobile devices.Both the Places API Search service and the Places API Autocomplete service are offered as XML/JSON REST based web services. These APIs are currently both in Google Code Labs, which means they are not yet included in Maps API Premier. However we are working to graduate the APIs from Code Labs in the near future, at which point the service will also be offered to Maps API Premier developers.To get started, please follow the instructions in the documentation for obtaining an APIs console key, and enabling the Places API on that key. If you have joined us at Google I/O this year, come along to our session on "Building Location Based apps using Google APIs" at 3pm on Wednesday, in which our Tech Lead, Marcelo Camelo, will be diving into the API in more detail.In addition to these web services we are also launching a new places library in the Google Maps API which includes:A PlacesService that allows Places API queries to be issued by Maps API applicationsA class that can attach Autocomplete behaviour to any text field on a web page, with the predicted places biased to a specific location or map viewportThe below demo uses the PlacesService to display Places on a map in response to changes in the map view port. An individual Place can also be mapped using the Autocomplete enabled search field:If you would like to provide any feedback about the Places API or Maps API, or you have suggestions for improvements or new features, please let us know using the Maps API Issue Tracker. You can also discuss our APIs using the Maps API Developer Forums.We’re very excited to make all of these great Places services available to all of our Maps API developers today. We know many of you have been eagerly awaiting access to the Places API, and we appreciate your patience. Places bridge the divide between the way that maps and computers represent the world, and the way that people relate to it. We believe that the launch of the Places API will spark a whole new wave of innovative location based application development, both on mobile and desktop, and we can’t wait to see how it is used.Posted by Thor Mitchell, Product Manager, on behalf of the Google Maps API teamThese limits do not apply to the Places JavaScript Library, which does not require a
การแปล กรุณารอสักครู่..

Looking to use this service in a JavaScript application? Check out the Places Library of the Google Maps API v3.
The Google Places API is a service that returns information about Places — defined within this API as establishments, geographic locations, or prominent points of interest — using HTTP requests. Place requests specify locations as latitude/longitude coordinates.
Introducing the API
Authentication
Places API Enterprise Customers
Usage Limits and Requirements
Introducing the API
The following Place requests are available:
Place Searches return a list of Places based on a user's location or search string.
Place Details requests return more detailed information about a specific Place, including user reviews.
Place Actions allow you to supplement the data in Google's Places Database with data from your application.
Place Photos gives you access to the millions of Place related photos stored in Google's Place database.
Place Autocomplete can be used to automatically fill in the name and/or address of a place as you type.
Query Autocomplete can be used to provide a query prediction service for text-based geographic searches, by returning suggested queries as you type.
Each of the services is accessed as an HTTP request, and returns either an JSON or XML response. All requests to a Place service must use the https:// protocol, and include an API key.
Authentication
The Google Places API uses an API key to identify your application. API keys are managed through the Google APIs Console. You'll need your own server API key before you can begin using the API. To activate the Places API and create your key:
Visit the Google APIs Console at https://code.google.com/apis/console and log in with your Google account.
A default project called API Project is created for you when you first log in to the APIs Console. You can use the project, or create a new one by clicking the API Project button at the top of the window and selecting Create. Google Maps API for Work customers must use the API project created for them as part of their Google Places API for Work purchase.
Click the Services link in the left-hand navigation panel.
Click the status switch (the on/off button) next to the Places API entry. The switch slides to ON.
Click API Access in the left-hand navigation panel.
Click Create new Server key.
Enter one or more server IP addresses if you wish to restrict the servers that can send API requests.
Click Create. Your API key appears under the heading Key for server apps (with IP locking).
Note: The Places API does not work with an Android or iOS API key.
Places API Enterprise Customers
Some features of the Places API — such as review summaries, and certain request filters — requires additional licensing, available as part of a Places API enterprise license.
You can verify that your account has been enabled for Places API enterprise features as follows:
Visit the APIs Console and log in with your Google Account.
Select the project that was created for you when you signed up.
The project name will start with Google Maps API for Work.
Click the Services link from the left-hand menu.
The Places API - Zagat Content service should be enabled. Note that only the initial owner of the project will be able to see the Places API - Zagat Content service.
The Places API service should be disabled.
Usage Limits and Requirements
All applications that use the Google Places API or Google Place Autocomplete must adhere to the requirements described in the Developer Policies and the Google Maps/Google Earth API Terms of Service. The Google Places API and Google Place Autocomplete share a usage quota as described in the Usage Limits and Billing documentation.
Let me share my findings before asking the question.
Google Places API documentation says: "Note: To use the Google Places API you must first request a Maps API client ID and cryptographic key which you must use to sign your request URLs. For information on signing URL requests, please see the URL Authentication documentation within the Web Service APIs home page."
The Google Places API is still in developer preview. http://code.google.com/apis/maps/documentation/places/
We need a Client ID (required) and a Signature (required) to use the Google Places API. http://code.google.com/apis/maps/documentation/webservices/index.html#URLSigning
And, to get the Signature, we need a Google Adsense account to get Adsense publisher id (required). http://gmaps-ws-console.appspot.com/
You can find the requirements to use the Google Places API here. http://code.google.com/apis/maps/documentation/places/index.html#Requirements
The Signup page for Google Maps API suggest that, "Your service must be freely accessible to end users. To use Google mapping technology in other types of applications, please use Google Maps API Premier. See this FAQ for more information." http://code.google.com/intl/it-IT/apis/maps/signup.html
Now, here's what i want to know.
I'm planning on using Google Places API in my iOS application. I don't want to use Adsense. Can i still access the Google Places API for free? How?
If i can't access the Google Places API for free, what are the costs associated with using this service, and the available payment models? I wasn't able to find any particular resources for this information.
Here's a specific scenario. What if my iOS application is free. The free version uses Google Places API. But... my iOS application has some additional features which are exposed using In-app Purchase (paid features). The paid features do not use Google Places API. Is this acceptable?
Places everybody, the show is about to begin...
Google I/O 2011 kicked off today, and we have a great line up of sessions on the Geo track. First up this morning was a session on "Connecting people with places", in which we were delighted to announce general availability of the Google Places API.
This represents the culmination of the Developer Preview launched last year, shortly after we introduced the Places API at Google I/O 2010. Interest in the Preview was overwhelming and we have been amazed by the innovative use cases suggested for the API. The developers we worked with provided a great deal of extremely valuable feedback on all aspects of the API, including features, performance, usability, and terms of use.
We’ve been working hard to implement the recommendations we received during the Preview. As a result the service launching today includes many new features, most of which are a direct result of this developer feedback:
A globally consistent type scheme for Places, spanning more than 100 types such as bar, restaurant, and lodging
Name and type based query support
A significantly simpler key based authentication scheme
Global coverage across every country covered by Google Maps
Google APIs Console integration, which provides group ownership of projects, key management, and usage monitoring
Instant reflection of new Places submitted by an app in subsequent searches made by that app, with new Places shared with all apps after moderation
Real time reranking of search results based on current check-in activity, so that Places that are currently popular are automatically ranked higher in searches by your app
In addition to these changes we’re also adding a companion Autocomplete service to the Places API, which predicts the Places a user might be looking for as they type. This service is based on the same technology that powers the search field on the Google Maps website, and can dramatically reduce the amount of typing needed when searching for a known place by name, which is particularly valuable on mobile devices.
Both the Places API Search service and the Places API Autocomplete service are offered as XML/JSON REST based web services. These APIs are currently both in Google Code Labs, which means they are not yet included in Maps API Premier. However we are working to graduate the APIs from Code Labs in the near future, at which point the service will also be offered to Maps API Premier developers.
To get started, please follow the instructions in the documentation for obtaining an APIs console key, and enabling the Places API on that key. If you have joined us at Google I/O this year, come along to our session on "Building Location Based apps using Google APIs" at 3pm on Wednesday, in which our Tech Lead, Marcelo Camelo, will be diving into the API in more detail.
In addition to these web services we are also launching a new places library in the Google Maps API which includes:
A PlacesService that allows Places API queries to be issued by Maps API applications
A class that can attach Autocomplete behaviour to any text field on a web page, with the predicted places biased to a specific location or map viewport
The below demo uses the PlacesService to display Places on a map in response to changes in the map view port. An individual Place can also be mapped using the Autocomplete enabled search field:
If you would like to provide any feedback about the Places API or Maps API, or you have suggestions for improvements or new features, please let us know using the Maps API Issue Tracker. You can also discuss our APIs using the Maps API Developer Forums.
We’re very excited to make all of these great Places services available to all of our Maps API developers today. We know many of you have been eagerly awaiting access to the Places API, and we appreciate your patience. Places bridge the divide between the way that maps and computers represent the world, and the way that people relate to it. We believe that the launch of the Places API will spark a whole new wave of innovative location based application development, both on mobile and desktop, and we can’t wait to see how it is used.
Posted by Thor Mitchell, Product Manager, on behalf of the Google Maps API team
These limits do not apply to the Places JavaScript Library, which does not require a
การแปล กรุณารอสักครู่..
