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 7578811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T17:31:06+00:00 2026-05-30T17:31:06+00:00

I use the google Maps Javascript API and set my custom markers on it

  • 0

I use the google Maps Javascript API and set my custom markers on it with a kml file (the custom marker image is set via the kml file). Now I want to add a hover effect on the markers (it is the same effect for all markers, a title and a marker image change).

Is there any way I can target the markers via jQuery to add the desired effects? I couldn’t identify the markers via firebug..

Thank you very much for your effort!

Here is my JavaScript:

$(document).ready(function(){

                            initialize();
                            var map;
                            function initialize() {
                            var myLatlng = new google.maps.LatLng(52.52427, 13.40629);
                            var myOptions = {
                                zoom: 11,
                                center: myLatlng,
                                mapTypeId: google.maps.MapTypeId.ROADMAP
                            }
                            map = new google.maps.Map(document.getElementById("Map"), myOptions);

                            var kmlLayer = new google.maps.KmlLayer('http://www.example.de/test6/1.kml');
                            kmlLayer.setMap(map);

                        });

Unfortunately I can’t paste the kml content here. So I uploaded it here: http://pastebin.com/HUgABVvx

I’m looking forward to your answers. Thank you! 🙂

  • 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-05-30T17:31:07+00:00Added an answer on May 30, 2026 at 5:31 pm

    You cannot apply effects for markers inside a KML-Layer. The markers you see there are not the images you set, they be a part of a tile.

    The only way I see is to parse the KML-file and create real markers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

To use Google Maps API you fetch their api js file with: <script type=text/javascript
Right now I can use this URL to request a Google Static Maps image
I'm using google.maps javascript API v3. I need to translate a set of civic
i've read that you can use either javascript or php with google maps api.
I'm trying to use the Google maps JavaScript API to draw a line between
My website doesn't use Flash or any plugins; just javascript (jQuery, Google Maps). It
I want to use the google maps hand cursor in Python but I don't
I had the following HTML page rendering to use the Google Maps API. This
"My Location" in Google Maps javascript API This question was asked over half a
i know how to do polygons with Google Maps API. http://code.google.com/apis/maps/documentation/javascript/overlays.html#Polygons How did Trulia.com

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.