Author Archives: Google Blogs

Making the most of the Google Maps Web Service APIs

When it comes to app development, there can be a disconnect between the robust app we intended to build and the code we actually get into a minimum viable product. These shortcuts end up causing error conditions once under load in production.



The Google Maps API team maintains client libraries that give you the power to develop with the confidence that your app will scale smoothly. We provide client libraries for Python, Java, and Go, which are used by thousands of developers around the world. We're excited to announce the recent addition of Node.js to the client library family.



When building mobile applications, it is a best practice to use native APIS like Places API for Android and Places API for iOS where you can, but when you find that your use case requires data that is only available via the Google Maps APIs Web Services, such as Elevation, then using these client libraries is the best way forward.



These libraries help you implement API request best practices such as:


  • Requests are sent at the default rate limit for each web service, but of course this is configurable.

  • The client libraries will automatically retry any request if the API sends a 5xx error. Retries use exponential back-off, which helps in the event of intermittent failures.

  • The client libraries make it easy to authenticate with your freely available API Key. Google Maps APIs Premium Plan customers can alternatively use their client ID and secret.

  • The Java and Go libraries return native objects for each of the API responses. The Python and Node.js libraries return the structure as it is received from the API.


The client libraries can help you in a variety of ways. One of them is exposing the result sets in a format that makes most sense for the language in question. For example, the Java and Go client libraries include object hierarchies that are type-safe representations of the potential results for each API. This allows you to write code in the comfort of your editor with the knowledge that the compiler will catch any mistakes.



With 3 million apps and websites using Google Maps APIs, we have an important tip for ensuring reliability when using web services: call APIs from a server rather than directly from Android or iOS. This secures your API key so that your quota can't be consumed by a bad actor, along with being able to add caching to handle common requests quickly.



A server instance acts as a proxy that takes requests from your Android and iOS apps and then forwards them to the Google Maps Web Service APIs on your app’s behalf. The easiest way to create a server side proxy is using the Google Maps Web Service client libraries from Google App Engine instances. For more detail, please watch Laurence Moroney’s Google I/O 2016 session “Building geo services that scale”.



You can learn more about the Google Maps API web services in our documentation. The easiest way to use these APIs and follow best practices is to use the Client Libraries for Google Maps Web Services. Download the client libraries for Java, Python, Go or Node.js from Github to start using them today!






author image

Posted by Brett Morgan, Developer Programs Engineer



Start sketching what you see for the future

If it ain’t Baroque, don’t fix it: your favorite art contest is back! Today we’re kicking off the 2016 Doodle 4 Google contest, where art-loving K-12 students from across the U.S., Guam and Puerto Rico are invited to bring their imagination to life in a doodle of the Google logo, using any medium they choose. The winning masterpiece will hang on the Google homepage for a day, where millions will enjoy it.


We like to think about what’s next. So we’re asking kids to imagine what awaits them in the years to come and represent that vision of this year’s theme: “What I see for the future…” Yes, that means anything they see — even if it includes flying dogs, living on a shooting star, the trip of their dreams, or for the true Futurists out there — perhaps a distant world filled with dazzling new technology of all shapes and sizes.

This year’s contest is going to be one for the record books; the future and the ways to depict it are limitless. That’s why we’ll have an all-star group of judges including our very own Google Doodlers help select the National Winner. In addition to the homepage showcase, the winner will receive $30,000 towards a college scholarship, and the opportunity to work with the Doodle team at the Googleplex in Mountain View. As an added bonus: Their home school will get to spend $50,000 on technology to help foster the next generation of professionals (and who knows, maybe future Googlers, too!).



Submissions are open until December 2, 2016. So for you parents, teachers, babysitters, camp counselors or non-profit leaders out there: Encourage your kids and students to apply. We can’t wait to see what wonders await in their dreams for the future.

And now, we bid you farewell as we’re Van Goghing, Goghing, Gone.

https://3.bp.blogspot.com/-j07reB7D8UU/V9hYQaRid3I/AAAAAAAAS98/aR1ooRkw_m4sIZqrKos8YzLfBrk7ZcO8wCLcB/s1600/Screen%2BShot%2B2016-09-13%2Bat%2B12.45.36%2BPM.png

National Museum of African American History and Culture finds a new way to tell stories

Next week marks the grand opening of the Smithsonian's National Museum of African American History and Culture (NMAAHC). A museum 100 years in the making, the NMAAHC is much more than just a collection of artifacts. Within its walls, visitors will take part in an immersive journey into the important contributions of African Americans in the United States. It’s a mosaic of stories — stories from our history that are core to who we are as a nation. And we’re proud to help bring these stories to life with a first-of-its-kind 3D interactive exhibit and a $1 million grant from Google.org, part of our ongoing work on racial and social justice issues.

A new way to explore artifacts
A few years ago, Dr. Lonnie Bunch, the NMAAHC’s director, came to Google’s headquarters and shared his vision to make the museum the most technologically advanced in the world. I immediately knew I wanted to be involved, and pulled together people from across the company: designers who focus on user interaction, members of the Cultural Institute, engineers who work on everything from Google Maps to YouTube, and members of the Black Googler Network. For the past year, we’ve been working to deliver on Dr. Bunch’s vision.

Our team quickly learned that museums are often only able to showcase a fraction of their content and archives to visitors. So we asked ourselves: what technology do we have at Google that could help enrich the museum experience? We worked closely with the museum to build an interactive exhibit to house artifacts from decades of African American history and let visitors explore and learn about them. With 3D scanning, 360 video, multiple screens and other technologies, visitors can see artifacts like a powder horn or handmade dish from all angles by rotating them with a mobile device. The interactive exhibit will open in spring 2017.
Travis McPhail in front of the National Museum of African American History and Culture on one of many site visits to the museum in Washington, DC

Taking an Expedition through African American history
In addition to the interactive exhibit, we’re also launching two new Google Expeditions that take students on a digital journey through African American history. Earlier this year, we formed the African American Expeditions Council — a group of top minds in Black culture, academia and curation — to help develop Expeditions that tell the story of Africans in America. With participation from the National Park Service, the Expeditions team captured images of the Selma to Montgomery National Historic Trail, which commemorates the events, people and route of the 1965 Voting Rights March. A second Expedition, from the Martin Luther King Jr. National Historic Site, takes you around Dr. King's childhood home and the historic Ebenezer Baptist Church, where he preached.
Screenshot from the new Google Expedition highlighting the Selma to Montgomery National Historic Trail, which commemorates the events, people and route of the 1965 Voting Rights March

Discovering and sharing new stories
At the end of this week, we're celebrating the opening of the NMAAHC during one of the most important weeks for African Americans in D.C., the week of the Congressional Black Caucus Annual Legislative Conference (ALC). On Friday night of ALC, we’ll salute NMAAHC Founding Director, Dr. Bunch, and the Congressional Black Caucus. The iconic Congressman John Lewis, an Honorary Member of our African American Expeditions Council, will be on hand to talk about the impact of Expeditions in telling the story that the NMAAHC will bring to life in so many important ways.

Day to day, I work on Google Maps, where we help people around the world find and discover new places. Working on this exhibit has given me a chance to help people discover something else — the ways African American history is vitally intertwined with our history as a nation. I’m proud of the role Google has played a role in taking people on that journey.


https://2.bp.blogspot.com/-ZlrEtjkoHm0/V9jtY68-BNI/AAAAAAAAS-g/AxeOln_ZJ0w7ZAMXP8UoHDdDi3kQtMJHwCLcB/s1600/Screen%2BShot%2B2016-09-13%2Bat%2B11.24.25%2BPM.png

An extinct world brought back to life with Google Arts & Culture

Many millions of years ago, dinosaurs ruled the Earth and sea dragons were not just Hollywood creations, but fearsome predators that stalked the oceans. It’s a world that vanished long ago, but one that continues to fascinate those seeking to understand the origins of life on our planet.

Starting today, anyone, anywhere can explore this world on Google Arts & Culture. We’ve partnered with 50+ of the world’s leading natural history institutions to bring this lost world to life again online. More than 150 interactive stories from experts, 300,000 new photos and videos, and more than 30 virtual tours await you...



With just a few clicks, you can come face to face with a 180 million year old giant, as virtual reality raises the colossal sea dragon from extinction. Discovered in Dorset in the U.K. and residing at London’s Natural History Museum. The Rhomaleosaurus — to give it its formal name — can now be explored in 360 degrees.



We also used VR to bring the Giraffatitan back to life in Berlin’s natural history museum. Standing at 13 meters (42 feet), it’s one of the tallest dinosaurs that ever lived. It was twice as tall as today’s giraffes, and could easily put its head through a fourth floor window.


We wanted to give you a glimpse of how these colossal creatures actually looked. So we worked with ecologists, paleontologists and biologists to put virtual skin and flesh on the preserved skeletons. From the size of the eye to the position of the snout and the bend of the neck, the texture and creases of the skin were all painstakingly recreated, and verified by a team of scientists. For the best experience, use a viewer like Google Cardboard to look the beast in the eye.

In addition to the VR experiences, this global exhibition of natural history has plenty more for experts and armchair explorers alike:

  • Turn back time by 4.6 billion years with the help of the Natural History Museum by scrolling through the history of life from the origins of the solar system, through the rise and the fall of prehistoric worlds.
  • See the giant sloth jaw that led Darwin to his groundbreaking theory of natural selection.
  • Explore the diversity of nature from the Lion fish to the Paradise Birdwing and learn from birds about the art of flirting.
  • View 3,000 species on display in one giant cabinet or find out how our own predecessors may have looked.
  • With Street View, walk around dinosaurs in New York, explore 30+ natural history museums from to Australia to Russia and even go underwater with turtles in Brazil.
  • Join YouTube’s Vsauce2 to discover the story of Martha, the last passenger pigeon.
The free collection opens today at g.co/naturalhistory and through the Google Arts & Culture mobile app on iOS and Android. And if you’re a teacher, there are more than 20 new Google Expeditions waiting for you and your classroom to discover. We hope you enjoy this journey through the history of nature as much as we do.


https://3.bp.blogspot.com/-yQoDsqVHEUY/V9cc-KEwxyI/AAAAAAAAS74/z5cylfCXQcYt6jm54mssXq03UVBB7yhjQCLcB/s1600/Screen%2BShot%2B2016-09-12%2Bat%2B2.23.37%2BPM.png -->

Capture and share VR photos with Cardboard Camera, now on iOS

Whether you’re hiking on the Olympic Peninsula or attending your cousin’s wedding, go beyond the flat photo or selfie. With Cardboard Camera—now available on iOS as well as Android—you can capture 3D 360-degree virtual reality photos. Just like Google Cardboard, it works with the phone you already have with you.

VR photos taken with Cardboard Camera are three-dimensional panoramas that can transport you right back to the moment. Near things look near and far things look far. You can look around to explore the image in all directions, and even hear sound recorded while you took the photo to hear the moment exactly as it happened. To capture a VR photo, hold your phone vertically, tap record, then turn around as though you’re taking a panorama.

Bugaboo Spire in B.C., Canada captured by Googler Adam Dickinson

Starting today, you can also share your VR photos with friends and family on both iPhone and Android devices. Select multiple photos to create a virtual photo album, tap the share icon, and Cardboard Camera will generate a link (like this) that can be emailed, messaged, or posted in apps and on the web. With a VR viewer like Google Cardboard, your friends can relive those moments as if they were there.

From rock concerts to real estate to mountaintop vistas, more than 5 million moments have been captured with Cardboard Camera on Android. Share your VR photos with the #CardboardCamera hashtag—we can’t wait to see the world through your lens.



https://4.bp.blogspot.com/-FGzO_cj6Fos/V9YAgDQbvxI/AAAAAAAAS6o/H_ub_x9paCY1i3_qnYZZ-wXvHh2jBZlVgCLcB/s1600/IMG_20160728_134237.vr.jpg

Refreshing our Transparency Report for copyright removals

Back in 2012, as a part of our continuing effort to increase transparency around the flow of information online, we began disclosing the number of requests we get from copyright owners (and the organizations that represent them) to remove Google Search results because they allegedly link to infringing content.

The report hasn’t changed much since 2012 and was getting a little rusty. So today, we’re releasing a new version of the report that makes it easier for you to understand the data:
  • Examples of removal requests, similar to the annotations we added to government requests to remove content last year. These illustrate the range of things we’re asked to remove and the decisions we make in response.
  • A new Explore the Data page, which lets you search the database of removal requests and see a more detailed list of reporting organizations, domains, and copyright owners.
  • An explanation of how copyright notice and takedown is applied to Google Search, which we hope leads to a better overall understanding of the process.
In addition to this major overhaul, over the last two months we’ve made a few updates to other sections of the Transparency Report:
  • In late July, we published the data on government requests for user data for the second half of 2015. We coupled this update with a blog post about some of the recent advances in surveillance reform, including the Judicial Redress Act and the EU-US Privacy Shield.
  • At the beginning of August, we added added YouTube and Calendar to our HTTPS Report Card, continuing to show our progress toward secure connections for people across our products. Learn more about YouTube’s efforts on the YouTube Engineering blog.
  • A few weeks ago, we updated the government requests to remove content section with data for the second half of 2015. The data show an upward trend in governments asking us to remove content from our products and services, with content on YouTube, Search and Blogger cited most frequently.
Transparency reporting is an important way to shed light on the policies and actions of governments and corporations, and how they affect privacy, security, and the flow of information online. We’re always exploring new ways to explain legal policies and processes and will continue to add new examples and new data to our reports. You can follow us on Google+ to get the latest on updates to the Transparency Report and news on related projects.

https://2.bp.blogspot.com/-eMS8soHdlbg/V9Bieemg4sI/AAAAAAAAS6E/gW0WR-kXMcIDrqXDP_LD4m5od6S0pHneACLcB/s1600/Google%2BTransparency%2BReport.jpg

Showcase your site’s reviews in Search

Today, we’re introducing Reviews from the web to local Knowledge Panels, to accompany our recently launched best-of lists and critic reviews features. Whether your site publishes editorial critic reviews, best-of places lists, or aggregates user ratings, this content can be featured in local Knowledge Panels when users are looking for places to go.

Reviews from the web
Available globally on mobile and desktop, Reviews from the web brings aggregated user ratings of up to three review sites to Knowledge Panels for local places across many verticals including shops, restaurants, parks and more.

By implementing review snippet markup and meeting our criteria, your site’s user-generated composite ratings will be eligible for inclusion. Add the Local Business markup to help Google match reviews to the right review subject and help grow your site’s coverage. For more information on the guidelines for the Reviews from the web, critic review and top places lists features, check out our developer site.
Critic reviews
In the U.S. on mobile and desktop, qualifying publishers can participate in the critic review feature in local Knowledge Panels. Critic reviews possess an editorial tone of voice and have an opinionated position on the local business, coming from an editor or on-the-ground expert. For more information on how to participate, see the details in our critic reviews page.
The local information across Google Search helps millions of people, every day, discover and share great places. If you have any questions, please visit our webmaster forums.

OnHub turns one today

A year ago, we introduced OnHub — a router that’s easy to use, and built to be placed front and center in homes (where Wi-Fi works best). Since then, we've been busy delivering on our promise that OnHub keeps getting better.

Today, we’re celebrating OnHub’s first birthday and announcing a new partnership with Philips Lighting, the first connected home device you can control directly with OnHub. We know people don’t like having too many apps on their phones, so we made it possible to control your home’s Philips Hue lights without downloading an app. Now anyone connected to your OnHub can type “On.Here” in a computer, tablet, or mobile browser and control the most popular features of your Philips Hue lights from there. Crank up the party lights!


Apart from Philips Hue, here are 10 awesome things OnHub lets you do:

1. Be the host with the most (Wi-Fi). The OnHub guest network is a place just for guests. And since you may not want to make all of the devices on your primary network available for guests to access, you can pick and choose which gadgets you share (like your printer or TV).

2. Pinpoint what’s slowing you down. OnHub's Network Check feature measures both the speed of your Wi-Fi router and the speed of the service you're getting from your ISP. This lets you pinpoint if there's a problem with your ISP or Wi-Fi.

3. Find the fastest Wi-Fi channel. OnHub constantly scans to make sure your Wi-Fi is on the fastest possible channel. In addition, OnHub automatically switches devices to whichever Wi-Fi band is faster (2.4GHz or 5Ghz) to give you a better Wi-Fi experience. Many Wi-Fi devices don’t automatically select the fastest available connection, so OnHub does it for you.

4. Stay secure. OnHub gets automatic security updates from Google’s cloud to help protect your network, your data, and all of your devices, without interrupting your connection. That means you’ll never have to worry about missing critical security upgrades.

5. Control with a wave of your hand. Sometimes in a busy home, one device needs more bandwidth than others. With the OnHub from ASUS, Wave Control allows you to boost Wi-Fi speed for a specific device simply by passing your hand over the top of your OnHub.

6. Call your Chromebook “Game of Chromes.” Or something. With so many devices online in a typical home, you’ll need a clear name for each one so you can properly prioritize. Custom device naming allows you to give each one its own unique name on the OnHub network.

7. Give your network name some ❤️. Spice up your home’s Wi-Fi network by giving it a name with personality, or if needed, a name with direction (i.e., “UseThisOneMom”). OnHub lets you choose whatever name you want for your router network, and you can even include emojis. ? ?!

8. Get shells to match your home design. Custom shells in white and gold, black and silver, and natural bamboo make it easy for you to place your OnHub in a central location, where Wi-Fi works best. You can find all the shells today on the Google Store.


For those who want to design their own router shell, we also created the OnHub Makers site, where you can access open source design files. With or without these shells, OnHub was created to be out in the open. Its hardware design was honored as a Top Winner at the 2016 International Design Excellence Awards (IDEA®), and a Gold winner at the 2016 International Design Awards (IDA).

9. Make basic tasks more… basic. OnHub is the first router to support IFTTT — a service that lets you connect different websites, apps, and other devices to create “recipes” which perform simple actions. That means you can use your OnHub to automate basic tasks and devices. For example, if a particular mobile device connects to your OnHub, then prioritize Wi-Fi on that device. Learn more at go.co/onhubifttt.

10. Share and share alike. Everyone connected to your OnHub — on both the primary and guest Wi-Fi networks — can enter “On.Here” into any browser on a phone, tablet, or computer and quickly see all of the devices that are available on the guest network. Philips Hue lights are the first connected home device you can not only access, but control, directly from On.Here. Learn more about On.Here.

As you can see, OnHub is a lot more than a router that gives you fast Wi-Fi. Watch our video to see the Top 5 Reasons Why OnHub is More Than a Router:

We’d like to extend a huge thank you to everyone who has given us feedback on how OnHub is solving their Wi-Fi problems. If you’d like to see for yourself, we’re offering $20 off OnHub from TP-LINK sold in the Google Store and Amazon in the next month — just grab your OnHub online between now and September 30. Happy birthday, OnHub!



https://4.bp.blogspot.com/-0i6BwstWEKI/V8YvuUJASzI/AAAAAAAAS2Y/tsbFQW4k_KACjMyr3uPUDN_Sc-KPyhbbgCLcB/s1600/OnHub_Confetti.gif

Sheep View: Where there’s a wool, there’s a way

Over the past three months, Durita Andreassen and a few friendly sheep equipped with solar-powered cameras strapped to their woolly backs set out to collect imagery of the Faroe Islands for Street View. The 18 Faroe Islands are home to just 50,000 people, but — fittingly for a country whose name means “Sheep Island” — there are 70,000 sheep roaming the green hills and volcanic cliffs of the archipelago. So when Durita decided to document the country for Street View, sheep weren’t a baaad place to start.

Sheep View 360

When we herd about the Sheep View project, we thought it was shear brilliance. So we decided to help the Faroese by supplying them with a Street View trekker and 360 cameras via our Street View camera loan program. Last week, the Google Maps team arrived in the Faroe Islands to help train and equip the local community to capture even more (but slightly less woolly) Street View imagery.


Now that the Faroe Islands is supplied with a Trekker and 360 cameras, residents and tourists can assist the sheep in collecting Street View imagery of their beautiful lands using selfie-sticks, bikes, backpacks, cars, kayaks, horses, ships and even wheelbarrows. The Visit Faroe Islands office in Tórshavn and Atlantic Airways at the airport will be lending out Street View 360 cameras to visitors willing to lend a hoof.


The Faroe Islands have shown us that even sheep can contribute to Street View. If your hometown or favorite hiking trail hasn’t made it into Google Maps yet, grab your own 360 camera or apply to borrow one from us through our Street View camera loan program. We’re excited to see what ewe map!




https://4.bp.blogspot.com/-fzv6Y0RTrws/V8YrY8mjULI/AAAAAAAAS18/qBSLmHwW310gItDLSnioxX94Z3CxkwD5gCLcB/s1600/primaryimage2_10mb.jpg

Search is a Jack of all trades

Today we’re dealing two new hands from the Google Search deck: solitaire and tic-tac-toe. Now you can play two of the oldest and most popular games for all ages, on desktop and in the Google app.

It’s been said solitaire’s roots are in fortune telling. If that’s true, today your fate rests on your quick wit and the luck of the draw. When you search for “solitaire” on Google, the familiar patience game may test yours!
If you’re looking for something a bit simpler, tic-tac-toe is your best bet. In this game of naughts and crosses, you can select your level of difficulty or even go head to head against a friend. Xs and Os to the winner (hugs and kisses, that is!).
For some other fun tips, try asking Google, “what sound does a pig make?” Or if you’re looking to settle a bet and feeling lucky, “flip a coin” may come in handy.

These are just a sample of the delightful surprises that await you on Google. After all, Search is for so much more than research and practical matters -- it’s for fun, too!