How to get started with Google Maps API?

Building Interactive Map layouts has gotten easier with the latest release of Google Maps APIs. Want to build something that looks like:
How does one achieve this sort of a functionality?..simple!! make use of the Street View Service. Let’s look at some access strategies and sample source code.

Directly Accessing Street View Data

You may wish to programmatically determine the availability of Street View data, or return information about particular panoramas, without requiring direct manipulation of a map/panorama. You may do so using theStreetViewService object, which provides an interface to the data stored in Google’s Street View service.

Street View Service Requests

Accessing the Street View service is asynchronous, since the Google Maps API needs to make a call to an external server. For that reason, you need to pass a callback method to execute upon completion of the request. This callback method processes the result.

You may initiate two types of requests to the StreetViewService:

  • Request with a StreetViewPanoRequest, this returns panorama data given a reference ID which uniquely identifies the panorama. Note that these reference IDs are only stable for the lifetime of the imagery of that panorama.
  • Request with a StreetViewLocationRequest this searches for panorama data over a given area, given a passed LatLng.

Street View Sample Source Code

<!DOCTYPE html>
<meta charset=“utf-8”>
<title>Directly accessing Street View data</title>
, body {
height: 100%;
margin: 0;
padding: 0;
#map {
height: 100%;

id=“map” style=width: 45%; height: 100%;float:left>


id=“pano” style=width: 45%; height: 100%;float:left>


* Click the map to set a new location for the Street View camera.

var map;
var panorama;

function initMap() {
var berkeley = {lat: 37.869085, lng: 122.254775};
var sv = new google.maps.StreetViewService();

panorama = new google.maps.StreetViewPanorama(document.getElementById(‘pano’));

// Set up the map.
= new google.maps.Map(document.getElementById(‘map’), {
: berkeley,
: 16,
: false

// Set the initial Street View camera to the center of the map
.getPanorama({location: berkeley, radius: 50}, processSVData);

// Look for a nearby Street View panorama when the map is clicked.
// getPanoramaByLocation will return the nearest pano when the
// given radius is 50 meters or less.
.addListener(‘click’, function(event) {
.getPanorama({location: event.latLng, radius: 50}, processSVData);

function processSVData(data, status) {
if (status === google.maps.StreetViewStatus.OK) {
var marker = new google.maps.Marker({
: data.location.latLng,
: map,
: data.location.description

: 270,
: 0

marker.addListener(‘click’, function() {
var markerPanoID = data.location.pano;
// Set the Pano to use the passed panoID.
: 270,
: 0
} else {
.error(‘Street View data not found for this location.’);

async defer


Machine Learning on Android, is that possible?

I have been toying with the idea of trying out Machine Learning libraries on Android Platform but was always left with the option to build trivial applications given the constraints (processing) and limitations of the Mobile Platform. Until, I chanced upon TensorFlow that had some amazing documentation on how to leverage its Machine Intelligence library on Mobile.

A look at the app in real time:


The app accomplishes this feat using a bundled machine learning model running in TensorFlow on the device (no network calls to a backend service). The model is trained against millions of images so that it can look at the photos the camera feeds it and classify the object into its best guess (from the 1000 object classifications it knows). Along with its best guess, it shows a confidence score to indicate how sure it is about its guess.

Interested more about learning Image Recognition?

Looking for the demo app?

Try the Android build available at I’m sure it will get you excited!



How to Make an iOS App?

In Udacity’s iOS courses, you’ll bridge the gap between the physical and the virtual. You’ll learn to leverage common hardware features on iPhone and iPad, including the camera, microphone, GPS, gyroscope, and accelerometer to create engaging and interactive user experiences. Whether you want to build the app of your dreams or land a job as an iOS developer, you’ll be developing for platforms used by hundreds of millions of people every day.

Welcome to the world of iOS Development! This program will help you get started on your path to creating high-quality iOS apps.
Learn how to build advanced, modern iOS applications with polished user interfaces on top of industry-standard frameworks.

Intro to iOS App Development with Swift

PROJECT Make your first iPhone app
Take the first step in becoming an iOS Developer by learning about Swift and writing your first app.
This course focuses on the syntax of the Swift programming language. By the end of the course, you’ll be able to apply Swift essentials to building iOS apps.
Learn the iOS UIKit framework, which is the cornerstone of creating user interfaces in all iOS apps and crucial for any iOS Developer to be intimately familiar with.
Learn how to incorporate networking into your apps to access data from around the world. Build the On the Map app to share location and fun links with fellow students.
Persisting data is a core skill for any iOS developer. Learn how to store app data to your device’s hard drive using two common techniques: Core Data & NSKeyedArchiver.
In this course, you’ll learn standard methodologies for debugging software, and how to use Xcode’s debugging tools to find and squash bugs.
Learn the process of building an app, taking your ideas from drawing board to App Store!

Top 5 Android Development Courses

Make your app production-ready by applying advanced features like library integration, material design, widgets, receiving cloud messages, and more!

Built by Google

Performance matters to users, so it must matter to you. Learn how to identify and fix bottlenecks in your Android applications, and ensure a smooth user experience.

Built by Google

Learn how to extend your app to Android Wear smartwatches, allowing you to reach users wherever and whenever they’d want or need your app.

Built by Google

Go where your users are: the living room! This course shows you how to extend your existing Android app to also work on Android TV, and/or with Google Cast.

Built by Google

Reach your users while they’re out and about by extending your Media or Messaging app to Android Auto!

Built by Google