Title: [Plugin: Comprehensive Google Map Plugin] Marker tooltip text
Last modified: August 20, 2016

---

# [Plugin: Comprehensive Google Map Plugin] Marker tooltip text

 *  [OnTrack](https://wordpress.org/support/users/ecomlearning/)
 * (@ecomlearning)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-comprehensive-google-map-plugin-marker-tooltip-text/)
 * This plugin does 99% of what I want and lots that I do not need at the moment
   so I’m sure that this last 1% is easy to fix.
 * I have a marker positioned by lat/lng coordinates. It’s all great apart from 
   when you hover over the marker the tooltip says “Lat/Long: xxx,xxx”.
    What I 
   want it to say is the name of the location as provided by me.
 * I have used the Google Maps API outside of a system like WordPress so I know 
   it can only take a small bit of JavaScript:
 * > var MyMarker = new google.maps.Marker({
   >  position: MyLatLng, map: MyMap, title:“
   > Tooltip popup text on mouse hover”, icon: MyIcon, });
 * I just can’t figure out how to get the ‘title’ in CGMP.
 * Any help would be much appreciated.
 * [http://wordpress.org/extend/plugins/comprehensive-google-map-plugin/](http://wordpress.org/extend/plugins/comprehensive-google-map-plugin/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [digitalrenewal](https://wordpress.org/support/users/digitalrenewal/)
 * (@digitalrenewal)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-comprehensive-google-map-plugin-marker-tooltip-text/#post-2972960)
 * this is exactly what I need to know too. I built a local directory site pretty
   much powered by this plugin, which is awesome. Looks pretty smooth too. [http://historicdepot.com/](http://historicdepot.com/)
 * Im using a ‘Geo Mashup’ on the home page to display all of the local businesses.
   So the home page is just a map, with markers, but no real information about what’s
   what until you click the marker. I think visitors might be kinda lost. A hover
   with the page title would be ideal in this situation.
 * Hoping someone can help!
 *  [Mark Cobbold](https://wordpress.org/support/users/mark-cobbold/)
 * (@mark-cobbold)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-comprehensive-google-map-plugin-marker-tooltip-text/#post-2972961)
 * It would be great to choose the text or get rid of the tooltip completely.
    Please
   let us know if that’s possible. [http://portenta.com/contact](http://portenta.com/contact)
 *  [DA2206](https://wordpress.org/support/users/da2206/)
 * (@da2206)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-comprehensive-google-map-plugin-marker-tooltip-text/#post-2972962)
 * Hi,
 * I have a database with the latitudes and longitudes of locations. I pass these
   to the plugin in a list through the shortcode and it displays the tooltips with
   the latitudes and longitudes. The record in the database that contains these 
   latitudes and longitudes also contains the place name.
 * It would be useful if anyone reading this knew how to effectively get the place
   name where latitude and longitude in the database = the latitude and longitude
   of the map marker, and display this place name as the tooltip.
 * Aside from this, Mark, if you go to the file ‘\comprehensive-google-map-plugin\
   assets\js\cgmp.framework.js’ and locate the function ‘function instrumentMarker(
   point, element)’, inside this you should be able to set the ‘title:’ to be “”.
   Effectively a blank string that will cause the tooltip not to show.
 * Of course, if you are using this as your only map on the site then you can edit
   the ‘title:’ and ‘content:’ lines to read the following:
 *     ```
       title: "PORTENTA Limited",
       content: "Unit 270<br/>88 Lower Marsh<br/>Waterloo<br/>London<br/>SE1 7AB",
       ```
   
 * Let me know if this helps.
 * Dan

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Comprehensive Google Map Plugin] Marker tooltip text’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/comprehensive-google-map-plugin_e2e4ef.
   svg)
 * [Comprehensive Google Map Plugin](https://wordpress.org/plugins/comprehensive-google-map-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/comprehensive-google-map-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/comprehensive-google-map-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/comprehensive-google-map-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/comprehensive-google-map-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/comprehensive-google-map-plugin/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [DA2206](https://wordpress.org/support/users/da2206/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-comprehensive-google-map-plugin-marker-tooltip-text/#post-2972962)
 * Status: not resolved