UK Google Maps with check box options - google-maps

I just want UK google map with checkbox option. And check box have option like
Primary Schools
Secondary Schools
Colleges
Universities
Transport
when any user click on these option then it activated, So my basic question is that, Is google provide any API for this purpose or i have to point out every single location because pointing out every single loaction is very time consuming. The example of this kind of map is here, go to map & nearby. Thanks

Google does provide an API for this
https://developers.google.com/places/documentation/search
The API does allow you to add parameters, for example
https://maps.googleapis.com/maps/api/place/search/xml?location=37.77264,-122.409915&radius=500&types=food&sensor=false&key=yourApiKey
Which will return a list of markers you can use to populate your map

Related

With the Google API is there anyway to get all of the cities in a state, and all of the towns in a city?

I am trying to build an application where a user can "drill-down" so to speak to find a location. So if they click on "US" it should show all of the states, and if they click a state it should show all of the cities. I have looked at the Google Places API, and I'm not exactly sure what the best method is. I thought about using bounds but I feared it would not be accurate because bounds works off of a rectangle. Not the actual city or state.
There is no any Google Maps API that can return a list of cities in the state. The Google APIs does not work this way, they are not like a database search.
You can try a Places API autocomplete, but this API returns up to 5 suggestions when you are typing a text. You cannot define a strict filter by city or state, you can only bias result to certain view port.

Free geocode API allowing store names and coordinates

My application should allow users to store events and their locations and then perform search on them - so I need those locations in my database with their names and latitudes/longitudes. Google API doesnt allow storing anything else but place IDs so I have to find something else that can autocomplete/suggest places on UI and allow storing it my database.
Does anyone know such a good service?
You can simply add your points in your DB based on each point Lat & Long values. So when user is searching somewhere you have his current location(Lat-Long), Therefore you can search in your DB and get the distance of each saved point with current location and retrieve the results you want to show (i.e in JSON format).
In client-side use some auto-complete jquery library to show the nearby places and somethings like that (with additional information).
Google Map API has a service that you can show some custom marker on the map with your custom configuration like marker icon, description and etc. You can show your additional information in description as HTML format.
You can see some example here:
Customizing a Google Map: Custom Markers
Hope these tips would be helpfull. Regards.
Suddenly I've found an answer that helps me:
https://productforums.google.com/forum/#!topic/maps/hNc1OOU6Zm8
So I can use some Google's data under some conditions.

Google places maps Api web service post new place

I just posted 2 places with the Add Place API.
I used this model and got a success status confirmation by the webservice and then for each I got an id, and place_id, reference, scope and status
But the problem is I cannot see my new places on the google maps interface. where can I find my places to check if everything is right?
if you take a look at the documentation:
When you add a place, the new place is available immediately in Nearby Searches initiated by your application. The new place also enters a moderation queue to be considered for Google Maps. A newly-added place does not appear in Text Search or Radar Search results, or to other applications, until it has been approved by the moderation process.
Which means everyone can add their own places for the own use. But in order to have your place visible to other apps or the Google Maps, it needs to pass the moderation process. If your places did not show up after a week or so, then probably it didn't make it through.

Google map search using KML

i am using google map kml field (direct iframe code from gmap)
for showing different locations/shops on map:
Google map #my site,
i need to add a search box from where user can search nearest shops to his/her location...
can any body help me in this out..
It is my understanding that the API does not provide support for searching your provided KML:
google maps API geocode finds nearby KML
Google provides a service called placesService ( https://developers.google.com/maps/documentation/javascript/places ) which lets you make requests to their database of content and return results in the form of KML near a location within some bounded area - but to my knowledge you cannot specify the source to search. (You could try testing the placesService, with a KML layer set on your map and see if it includes your data).
Assuming you are generating your KML from a database, can you could regenerate it appropriately filtered or styled based on the user's search terms. This seems the most likely solution without additional details.
I have done google map search with python. But this one searches hospitals
You need to get google place api and place in code and reconfigure for search,
it will print out name, location address, and website
https://github.com/rockcastle/GoogleMap-Scrapping

Is there a way to create custom pathways using the Google Maps API V3?

I need to create custom pathways using the Google Maps API V3 for a map of a campus
I know I could create pre-determined paths based on checkpoints that I input, but I need to be able to make it so that a user using the map I've created can click from one side of the campus to the other, and have the option to either follow roads/sidewalks, OR to go THROUGH BUILDINGS.
Is this possible, and if so, can I get some assistance, or a link?
Thanks in advance.
If anyone sees this and wants a relevant response, one is given here: Custom routes/paths/roads on Google Maps