Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2984
  • Last Modified:

Google Maps to change or highlight pin when mouse over text on page

Hello,

I'm looking for a way to highlight a Google map pin when a user hovers over a particular name in a list - so, for example this page has a list of regions (to be tidied up ;-) ):

www.villasdirect.com/top-destinations.asp/?country=France

Thanks in advance!
0
Nico2011
Asked:
Nico2011
  • 2
  • 2
1 Solution
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
here's a pretty in depth article that covers all of the basics in doing this:

http://econym.org.uk/gmap/index.htm
0
 
Nico2011Author Commented:
Hi - thanks for the link, however I'm actually not sure where to start looking!  It's a great resource to have, but I'm hoping to just find a bit of code to add to my list that'll change the icon when my mouse goes over one of the regions...
0
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
have a look at the source code on this page:

http://econym.org.uk/gmap/example_hoverchange75.htm

it looks like there is a call to replace the original image with the highlighted one using marker.setImage()
0
 
Nico2011Author Commented:
Yes - that'll get me started - thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now