Add Markers From embedded Google Map - google-maps

how can a user add Markers from an embedded Google Map on my homepage to hin own map on google-maps?
Thanks

What you're proposing sounds like a Google My Maps. Go to http://maps.google.com, sign in to a Google account, and click on My Places. Then click on Create Map. You create a map, and embed it in your site. Anyone clicking on a marker created there can save that marker to their own map. Take a look at this sample map. Click on the marker for Google and in the infowindow, select Save to map.

Related

Deselect markers - google maps

I have a google maps, with multiple markers, when I click on a marker the image of a marker changes.
Now I want when I click on another marker, the previous one I want to returns to the original image.
How can I do that?

Google Map link to markers from external site

i have a question. My website has link Show on Map that points to custom google map. That custom google map has 30ish markers, and when you click link from website, it opens that map, and focuses corresponding marker there. So you use show on map for marker 1, custom map opens and focuses marker 1 with info bubble.
link is here
Show on map
link to map
Now, since i need to replicate that Google Map because i dont have acess to it anymore, i am wondering how to get link to certain marker? Since website doesnt have any javascript or anything regarding Goolge Maps, are those links hardcoded on custom map in source code or something? Since i know iwloc and coordiantes change on links.. But on source code of that custom map iwloc is same on 3-4 ocurrances in page.
Any help is welcome. I tryed to search here but everyone makes some javascript solution. I want it to be like now... only link to that marker. Thanks
Open the specific map, open the desired infoWindow(by clicking on the marker or on an item in the sidebar) and then copy the short URL that will be shown when you click the share-button(in the top-right corner of the sidebar)

Pop up info window on google map given coordinates

I wonder is there a way to automatically pop up the infoWindow of a marker provided a coordinate. I want to click a link on the page from which I will get a geolocation, (and this location has already been marked on the map) With this coordinate, the corresponding infoWindow will pop up just like I clicked it on the map. Does anyone have a clue how to do that?
Thanks.
--
Generally, it's like what you can do with Google Maps, if you have multiple locations on the left, you click one, the corresponding marker on the map will pop up an infoWindow.
It's possible, all you need is a reference to the related marker, then you may trigger a click on the marker, and the infoWindow will open.
How to get the reference to the marker depends on your application(the way you create the markers and the links)

when closing google marker go back to center of map

I have a map which opens multiple markers then when you click on one of the markers a street view of that location opens up. What Im trying to do is when you close the marker have it re-center the map
You can always get the center of a map (getCenter()), so you will know the lat/long before you open a Street View image. There are then setCenter() and panTo() methods in the API: http://code.google.com/apis/maps/documentation/javascript/reference.html#Map

close active infowindows from external link google maps api v3

I am working on a website with google maps integrated.
http://www.ecompanies.nl/pilot/webdesign/breda.html
Infowindows can be opened by clicking on a map marker, or on a header link in the items listed on the right. How can I close the active infowindow before opening a new one (by clicking on a map marker, or on a header link)?
Thanks in advance.
Any help is highly appreciated.
You are creating a new infowindow for each marker. The best way to achieve what you want is to create one infowindow and share that between all the markers.
So:
Put the infowindow creation before the loop.
When you create the click event listener for the marker in the loop add infowindow.setContent('content'); before you open the marker.
this will automatically close the infowindow and open it over the new marker