when closing google marker go back to center of map - google-maps

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

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?

Get Google Map Path Between my Location and a marker Ionic2

I have marker on my map and my actual position i want to get path as soon as i click on a marker!

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)

Add Markers From embedded Google Map

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.

Google maps API - How to provide navigation links outside of map for markers in the map

I have a bunch of markers displayed on the map and I want to provide a list of navigation links for them outside the map (one link for one marker). When I click on a link, I want the marker to be centered in the map and get its infowindow displayed.
Can anyone help me?
Here is may be your need and want.