How to get photos in certain radius from location in Android? - android

I have an location coordinates. I have a radius (5 km, for example) around this location. How to get google maps photos (images, description/comments for photo, coordinates)?

You should use google maps api (notice there's a new google maps v2 for android you can download here
As for getting specific coordinate data, you should consider google places api.
you can use this great detailed tutorial, and a tutorial which I believe most fits your needs, combining the two: link

You need to use the Google Places API. There are queries for photos, reviews, etc. Note that this is a separate API from Google Maps.

Related

Plotting a GPS trail route on a Google map, embedding to site

New to Stackoverflow, did some searching and couldn't find anything that really matched what I'm looking for unless I'm using the wrong keywords. I did find guides on how to plot a route when you know the actual route, but I'm looking to do it from actually walking it, see below:
I'm fairly new to web development and am looking to plot maps of a trail on a website using an embedded Google map or some other free map platform if it's suitable (OSM?) I have an Android phone and I'd like to actually be able to:
(1) walk this route,
(2) take the GPS data somehow &
(3) match it up to a Google map to
(4) post it on my webpage.
That will help visitors know the actual route (which is not available on Google Maps in any detail) and have somewhat of a "guide" of the near-exact trail route. I imagine this can be done, as Runkeeper and other applications do this (with additional data on speed, time, etc.) for tracking your runs. I don't really want any of that additional data as much as I would like to just capture the GPS route itself, and have it in some format that I can then use to make a map out of automatically. Not sure where to start with this, or if it can be done easily. Any information or guidance would be greatly appreciated. I have no experience in Java; very limited Javascript and OK in HTML/CSS. I've never used the Google Maps API either.
Thanks!
You may use API Picker lists to help you on the most common things you may want to do on a map or with location-based data, and this also suggests the API that most suits your needs.
Listed below are the useful APIs to plot a route on a map:
Polylines in the Google Maps Android API
Polylines in the Google Maps SDK for iOS
Polylines in the Google Maps JavaScript API
Directions mode in the Google Maps Embed API
Paths in the Google Static Maps API (a web service)
Links of useful APIs for whatever you want to do on a map can be found in the documentation.

Android - Using Google Maps API - Is it possible to link some sort of google navigation service to any polylines?

I am new to the Google Maps API for android, and recently encountered a problem with a project I'm making. I'm trying to make a network of polylines that represent walking paths on Google maps, but I was wondering, is it possible to get the typical google directions for navigating those polylines? For example, if you are in a park and there are several paths to get to the parking lot, would google maps be able to tell you the fastest path if the paths are represented by polylines?

Choosing the right Google API (Maps Vs Places)

I am fairly new to Google APIs.
My business purpose is to get a list of hotels in my area.
From the Google API list, I figured that either Google Map Engine API or Google Places API would be ideal.
Google MAP Engine API - was chosen because in the documentation it said that we can access public data.
Google Places API - was chosen because in the documentation it said that we can access places in a locality.
Could anyone help on whether I have chosen the right API? And can my business purpose be achieved using Google APIs?
As far as i know google api v3
if you need to make a web based applicaton to do anything with google map you first need to include javascript api v3.
other apis/libraries sit on top of that
like : Places library (or you say api) , drawing library , overlays , weather etc
https://developers.google.com/maps/documentation/javascript/reference
if you scroll down a bit on contents you will see all the extra libraries there (including the place library which you need) As google says: "The Places API is integrated into the Google Maps JavaScript API as a JavaScript library."
so JUST inlude google javascritp api v3 and you get everything.
https://developers.google.com/maps/documentation/javascript/examples/place-search
use example above and change the type from ['store'] to ['lodging'] to get all the hotels near the lat,lon specified.

Search Google Place API for places within LatLngBounds on Android

I am building an Android application that lets users find restaurants in a specific area (LatLngBounds). I want to do a Google Place search for restaurants that are located inside this LatLngBounds and not outside of it.
I understand that there is a way to do this with the Google Maps JavaScript API V3, however, is there a way to do a Google Place search using LatLngBounds as the location parameter on Android? Thank you
After some thorough researching, I've realized that there is no easy way to search the Google Place API within a bounds area (LatLngBounds) unless I use the Google Maps JavaScript API V3.
However, there is an alternative solution, which is to use the Yelp API. The Yelp API lets developers specify a "bounding box...defined by a southwest latitude/longitude and a northeast latitude/longitude geographic coordinate."
Here is a link for more information:
http://www.yelp.com/developers/documentation/v2/search_api
This is late to the party but it seems like with the newer Google Services you can set LatLngBounds for your Places search:
Here is the API
Here is the Example

Constraints and restrictions in using Google Maps API

I have developed an android mobile application
I am using Google Maps API for
Displaying Current Location (Drawaing different types of shapes on my current location)
Displaying Nearby Areas. However the positions come from my local database and i am just overlaying it on my map
Displaying routes between two positions. Infact i want to draw many routes from my current positions. I have reffered J2ME/Android/BlackBerry - driving directions, route between two locations for displaying routes between two positions.
Displaying all the Nearby Areas in a ListView
My questions is : what i am doing here is considered as legal or not ?
I want to know what are the rules for using Google Maps ?
Or lets say what are the things that we can do with google maps that would be considered as legal.
Is there any license scheme for using Google Maps ? or its for Free ?
Please guide me..
Your requirements are perfectly legal, You may have a look at the following link http://www.google.com/permissions/geoguidelines.html
Google maps is free if you are below the the query limit
http://code.google.com/apis/maps/documentation/geocoding/#Limits

Categories

Resources