Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8013685
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:41:57+00:00 2026-06-04T19:41:57+00:00

This is the page in question… http://dev.digitalskydesign.com/locations/ Go there, hover over one of the

  • 0

This is the page in question…

http://dev.digitalskydesign.com/locations/

Go there, hover over one of the ‘green’ icons on the Google Map. Before you click it just hover over it and you’ll see that a bunch of the code pops up.

I don’t want that code to appear at all but I’m having a hard time figuring out how to handle that in my JavaScript code.

The JavaScript code that handles this map is found here…

http://dev.digitalskydesign.com/wp-content/themes/Teamsters-FCU/locations-iframe.php

There is also a .txt file called ‘branch-locations.txt’ that is basically just addresses and the geocodes for all of the map marker locations.

I’m not a JavaScript guru (just a web designer) so if you could tell me what code to modify / include as well as where to put it, that would be much appreciated.

Thanks guys!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T19:41:58+00:00Added an answer on June 4, 2026 at 7:41 pm

    It seems like you have html in your tooltip property.

    It seems the code: var label = points[i].textArray[2];
    is causing the issue.

    If you desire HTML Markup for the tip you will need to add an event to the mouseover event of the marker which displays the toolTip in an element and the adds an event on mouseout to remove the tip element.

    The other option you have is to change the label to something without HTML Markup.

    An example of adding the Tip with JavaScript code is below:

    Some of which was taken from How to call fromLatLngToDivPixel in Google Maps API V3?

    //You need this to get the projection... put this code at the top of your javascript after you declare map
    var overlay = new google.maps.OverlayView();
    overlay.draw = function() {};
    overlay.setMap(map); //Where map is your Map2 instance
    
    //Put this code at line 164
    var label = '';
    points[i].marker = new GMarker(points[i],{title: label, icon:tinyIcon(opts.icon)});
    google.maps.event.addListener(points[i].marker, 'mouseover', function() {
    
    //Create the tip and get the Point so position the tip
    var toolTip = document.createElement('div'),        
        point = overlay.getProjection().fromLatLngToDivPixel(this.getPosition());
    toolTop.styles.position = 'absolute';
    toolTop.styles.left = point.x;
    toolTop.styles.top = point.y
    
    document.body.appendChild(toolTip);
    
    google.maps.event.addListener(this, 'mouseout', function() {
        document.body.removeChild(toolTip);
      });
    
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is a very specific question for a Google Chrome extension. http://www.meebo.com/mobile/ This page
Reference is this page: http://demo.mypreviewbetasite.com/laverona/menu.html File in question: http://demo.mypreviewbetasite.com/laverona/scripts/menu.js The page works as expected
I was having a look over this page: http://www.devbistro.com/tech-interview-questions/Cplusplus.jsp , and didn't understand this
My question is: There is Add to Cart button on page: http://www.ctr-ring.com/lds-book-store/band-ctr-ring-white .button {
EDIT: There's now a doc page on this so this question is irrelevant, also
Ok, this is pretty weird... Here's the page in question: http://s289116086.onlinehome.us/lawjournaltv/index.php The main blue
On this page: http://nerddinnerbook.s3.amazonaws.com/Part4.htm After the controller is added, I can browse to http://localhost:xxxx/dinners
if you look on this page: http://www.lyricsinger.org/lyric/michel-sardou/c-est-ma-vie there are several black diamonds with question
This page describes all steps to edit RC: http://msdn.microsoft.com/en-us/library/dd456813.aspx Those are easy steps, pretty
Quick question about the Dijit.Form.DateTextBox http://docs.dojocampus.org/dijit/form/DateTextBox This page contains the following: also validates against

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.