Google Maps Marker title no longer appears as tooltip on hover

前端 未结 1 1913
后悔当初
后悔当初 2021-01-18 17:33

The Google Maps documentation indicates that adding a title property to a Marker object will result in its value appearing as a tooltip when the user hovers ove

相关标签:
1条回答
  • 2021-01-18 18:16

    The linked example uses the experimental version.

    You should always use the release-version( https://maps.googleapis.com/maps/api/js?v=3) when you use the API in production, the tooltip will work with the release-version: http://jsfiddle.net/doktormolle/6kUaU/ .

    Possibly related issue in the Google Maps API issue tracker:

    • https://code.google.com/p/gmaps-api-issues/issues/detail?id=6931
    0 讨论(0)
提交回复
热议问题