javascript - Google Map API: Why we need to set title for Marker object? -


it make sense me setting title markers in google map api. not show or anything. for?

from https://developers.google.com/maps/documentation/javascript/markers:

the marker's title appear tooltip.

if not wish pass marker options in marker's constructor, instead pass empty object {} in last argument of constructor.


Comments