What does Xamarin.Forms.Map display? - google-maps

I used this Xamarin.Forms Map tutorial to create a simple app that displays a map and plots several points (from our database). The app works as it should, and that would normally be enough.
But I wanted to make my app different, and I wanted to use another type of map. For example, Waze and Google Maps both show me how to get to my nearest Walmart, but I like Waze's map more.
So my question is: what exactly does Xamarin.Forms.Maps display? It's a control that shows a map, but why does it show a Google Map instead of, say, a MapBox?
And since Google Maps and Waze are owned by the same company, why wouldn't I be able to display the Waze map instead of the Google Map?
Finally, what other map control options do I have? My app simply takes several coordinates from a sql table and plot the points in the map.

Related

how can I show the navigation gps data on google maps?

I have a GPS device which populates data continuously. I need to show the movement on Google maps. Like for example user is moving from Phoenix to LA. I need show his movement with blue marker on google maps showing his movement along with path traveled.
Is it possible is there an Maps API that does it for me like: I keep pinging the new lat, long to Google maps. And google maps keep showing the advancing movement on the map.
You need to implement a LocationListener which will force you to implement 4 methods. One of those methods is the onLocationChanged this method, when your location changes will update and do something that you want. I guess you want to update and show your current location.
It is very important that you use requestLocationUpdates() and check this out:
http://developer.android.com/training/basics/location/locationmanager.html

Google Maps Api - newbie

I am starting to work on a Google Maps project, but I am totally new to Google Maps Api, as well as my JavaScript skills are quite small, my background is Java. I have started reading throught the docs and tutorials, but some basic questions stay unanswered, so I hope to get some help from you.
Does Google Maps api provide a way for user access control? Lets say, I have a map where my registered users(Joomla site) can add placemarks, how do I tell Google Maps if this user is allowed to work on the map? Or do I have to take care of that by myself without the Maps API?
What would be the right approach to create the following functionality: I want to let a user add a placemark to an empty map. Then I will check if the point added is ok for public publishing. If it's ok, then I want to transfer that placemark to the public map.
Is there some Maps API function to read out the placemarks on a specific map?
Andy
Regarding the user access control, it seems that I have mixed two things. When you use Google Maps on Google website, and you create your map with markers, you can specify other users who are allowed to add and edit markers on that map. However, Google Maps api obviously does not save a server side copy of the map you are working on. So everything happens at your site. If you add markers, then you have to keep track of them by yourself, so also user access control is your own problem.
However, I wonder, what would happen when I would create my own map on the Google Maps website with my own markers, and then I would display this map on my site. What would be then the way to read out the markers, lets say for a list of markers.
It seems that the right way is to implement it all yourself. Let user set marker, save the marker in database. Review the marker and if accepted mark it and display it on the public map when populating the map with your markers.
Ok, so I've been reading around and I found out, that obviously Google Maps does not provide a function to read out all markers on a map: how to get all markers on google-maps-v3

Real-Time update of markers in google maps?

thats my scenario: I want to load a list of places of interest of a user based on his location (using HTML5 geolocation). But the problem is, I have a very big list of places (I don't want to have to load all places from my database), so the solution I have adopted until now is only to call mysql for the results in a given radius from the user, let's say, 1 km. But I'd like when user is dragging google maps to explore the map, load progressively the places for the area is shown on the map (basically something similar to what foursquare does).
Is there any simple way to achieve that? Hope I was clear with the question, thanks in advance, any help is appreciated.
Jesús.
General approach:
get the bounds of the map and query your data base for markers that are currently in view
optional, add padding to the bounds so some markers are available just out of view if the map is dragged
display the resulting markers
when the map is moved (bounds_changed event), query your database for additional markers
process through the returned markers, only adding those that are new (requires an array of existing markers and a way to determine that the existing marker and a newly downloaded marker are the same)
Searching the Google Maps API v3 group (and the Google Maps API v2 group, the concepts will apply but the code samples may not) should give you some examples.

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

How to show more than one places on google maps?

Using the public google maps site, how can I show multiple locations on a map. I want to do this using the query string. For example, I might want to show Portland, OR and Seattle, WA.
http://maps.google.com/?q=Portland,%20OR%20AND%20Seattle,%20WA
I don't think it's possible on the Google Maps site, so you probably have to use the API and build a web page with two maps on it, each showing the location depending on the query. You might also want to look at the Geocoding API if you are going with that.