简体   繁体   中英

How can I hide the “Title” while maintaining the “Title” value when mouse over “google maps Marker”?

How can I hide the "Title" while maintaining the "Title" value when mouse over "google maps Marker"? I'm using "Label" instead of "Title" to show the title for marker(using "google-maps-utility-library-v3"). But marker needs title value. Because marker is used internally to identify the "Title". Should I ask to google maps developer about it? Sombody help me. I tried, but I couldn't found an answer it..

If you want to hide your Title in info window, you could use CSS to do the job.

.bubbleContainer h3{ display:none; }

It will hide Title when you click and open info window Or you could javascript to trigger it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM