0

I was wondering, how is one meant to get the "pin" in the location on google maps, and also remove the speech mark bubble that appears?

I have googled for "search mark" and "dialogue" box but it doesn't come up with anything, so I think I have the wrong name for it.

This is my current Google map (you have to type in a location for the map to show)

http://jsfiddle.net/2q8Pw/17/

Is this because I am using the "defaultUI: false option?

4

1 回答 1

1

现在有 marker.setVisible(false) 并且它应该读取 marker.setVisible(true) 以便标记出现

并摆脱它以使气泡不出现

infowindow.setContent('<div><strong>' + place.name + '</strong><br>' + address);

于 2012-10-11T22:38:21.310 回答