Place a title in or above a Google Map marker

Posted on 2011-10-07
Last Modified: 2012-05-12
Using the code provided in this answer:

I would like to place a bubble above the marker, preferably on mouseover, that showed the location Title, Address and phone number:

$x->setMarker("THE WHITE HOUSE", 'red', 'W');

This shows the "W" in the marker, but will only show 1 chracter

Question by:jeffey48
    LVL 107

    Accepted Solution

    Jeff, you can use custom icons and that might be a partial solution.  To go beyond that you might need to use some kind of tooltip scripts.  This gives an example.

    Author Closing Comment

    Thanks Ray!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
    These days socially coordinated efforts have turned into a critical requirement for enterprises.
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now