Is there a way for me to create a custom Google Map for my website which the public may add markers to but may not remove markers that other people have already placed.
So are there any permissions I can edit to allow people to add but not remove markers?
You can use google map as a basemap and create your own layer in order manage it from your own server using eg mapserver and/or geospatial database such as PostGIS and openlayers on the front end. This way you will have a full control over who can add what and you can do it outside of googlemaps API sandbox
Related
I have a database table with a listing of thousands of locations. I would like to create a custom map (accessible from the main Google Maps splash page by going to Menu->Your places->Maps. These are the same maps that you can create yourself at google.com/maps) using REST URLs to drop dots associated with my location addresses. The populated custom map will then be accessed through google.com/maps. I am not looking to embed Google Maps on a web page.
I've looked here, but I have not been able to find a set of REST URLs that I can use to do this. Most of the APIs provided by Google comes in the form of client-side JavaScript libraries.
Is there a way to create a custom map using exposed REST endpoints from Google?
The brief answer is no.
Maps Data API has not been available since 2011 (see Maps Data API deprecation announcement) and as for now there still is no way of doing it programmatically (see Allow programmatic access to MyMaps)
Im working on a project to create a google map of an internal floorplan of my company's buildings. I dont want to use google's new indoor maps features as we dont want the floorplans available to the public. I was wanting to create an entirely custom map and just use the google maps engine and strip away the traditional world map tileset. Is this possible and how would I go about do it? Currently our floorplans are in an image file so a way to import those easily would be ideal.
I faced this problem creating an app last summer. It does not look like Google Maps (at least at that time) allowed for custom map tiles. I ended up implementing my own Map function, however I used XML files to create colored maps. The functionality would be the same if you wanted to use images, however.
The only drawback is that the features do not have such things that are built in with Google Maps, like dropped pins, etc. due to the fact that it is a custom built module. The repo is on GitHub here: https://github.com/krmannix/SmartMart
The Android Activity that holds the map is located within SmartMart/SmartMart/src/com/example/searchcell3/MapListActivity.java
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
I created a map with a few markers and saved it at http://maps.google.com/.
Is there a way to edit the map with an API, like inserting and deleting markers from it?
Or, is there a way to add markers to the default preview at http://maps.google.com/ without saving it? (Possibly through adding parameters to the URL).
The problem raises due to contract between Google Maps and Israel's map provider, which doesn't allow Google to show Israel's streets through an API, and only through the interactive map at http://maps.google.com/.
Thanks ahead!
if you are using Google Maps API, you can save markers in an database, so, you can inser, delete, update markers. When you load you web app where you are using the API you have to create an XML file with coordenates and info, then use a javascript to read XML file
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