To use Place type other than supported place type in Google map place api - objective-c

I am working on Google map places API and I am new to this. I created a sample project where I am able to retrieve latitudes and longitudes of nearby restaurants. But now I want to retrieve tattoo shops near by. But "tattoo shops" are not the supported type in google places API. Can some one tell me how to do that. I couldnot find any way of doing it.

Simply use keyword=tattoo+shops rather than type=restaurant in your request.
(I'm assuming you're using Nearby Search in the Google Places API Web Service.)

Related

Elevation API/database without using Google?

I need to find the maximum elevation along a given path (defined by start and end latitude/longitude), but in searching the internet the only option I seem to find is the Google elevation api. Unfortunately, that's not an option because the google terms of service explicitly state that:
The Google Maps Elevation API may only be used in conjunction with displaying results on a Google map. It is prohibited to use Google Maps Elevation API data without displaying a Google map.
Since my usage does not involve a google map (I'm using Open streetmap data combined with FAA sectional charts), using the Google Maps Elevation API would directly violate this. Additionally, I want to say that Google prohibits commercial usage, which this is (although we may be able to pay an exorbitant fee to get around that restriction).
In any case, given that the Google Maps Elevation API isn't an option, what other options do I have, either in a web-based API similar to Google, or in some sort of a local database download that I can query?
The USGS offers downloads of elevation data in various formats at https://nationalmap.gov/small_scale/atlasftp.html I was able to download a GeoTIFF of the area of interest, load it into a PostgreSQL database, and use the PostGIS extension to perform queries against the data to retrieve the desired information. No licensing issues or number of data point restrictions, plus it's all local.

Getting map locations from custom google maps

It's a general question for any programming language that can use google maps api...
Is there a way i can get specific locations provided by web sites that use google maps with their own location marks or location info.
For example yellow pages will offer locations that you won't get if you search for it simply from the official google maps web site.
What if also this website doesn't provide API to parse data from?
For further example , a web site may have a map having all locations of restaurants in Canada for instance so i want to get the same information in this map to import it in my map inside my application.
The sites you are referring to have the address and geocode information in their own database. They send you the data in response to your request and render it on the map in your browser using the client-side script API that google map provides.
If that's the case and the site didn't provide a public data service, then no, you can't get those data using the normal way.

Modify google maps api

Is it possible to add more functions for google map by using Google map API?
For example, I would like to add more indicators including stairs, elevators and etc in Google Map, is it possible?
Besides, I would like to add one more function, let's say create a new route without stairs based on the Google Map API, will it work?
It depends on what you mean.
If you are using Google Maps in your own website/application you can add custom markers/overlay based on your own data. (see: https://developers.google.com/maps/documentation/javascript/overlays). You can add markers/overlays for pretty much anything you can think of.
If you mean add it to the usual maps.google.com site, then no you can't as far as I'm aware.
You can't change the API as Google control that, but you can use the API on your site however you like.

Database Postcode Records, Google Maps?

Currently I have a website and database solution, however I would like to take 'Postcodes' from the records and place corresponding markers for them on a Google maps view.
Is this possible? And where would I start? Thanks
You can use the Google Maps Javascript API to place a map on your webpage. There is a good code example section. Markers should be easy to find.
The process of translating a postcode to a map location is called geocoding. There are code samples here too. The geocoding API has a usage limit and it takes time to do its work. SO if you have many postcodes, you might want to cache geocoding results.
There are many, many ways to get postcodes from a database to JavaScript. If you have an issue there, you'd better ask a more specific question, including the platform and language tag.

Parsing Google Places for all locations in US

I want to call Google Places api to retrieve some filtered places. Does anyone know how I can retrieve all locations in US with coordination and radius? Thank a lot.
Get a list of all the locations that you need and then use google geocoding api to convert them to coordinates.