Google Maps KML markers

Posted on 2009-05-01
Last Modified: 2013-11-19
I am generating a Google KML file with a number of points.  For some set of these points I want to have markers which are say Red and for the others I want markers which are say Blue.   For all the markers I want a unique label eg: 'A', 'B', 'C'.

I found a downloaded a large set of markers from the net, with different colors and labels.. eg all red A-Z, all blue, A-Z.  so it is fairly easy to generate a url to select the correct marker eg .../markers/blue_markerB.png. and this is what I was in the process of doing.   However, when the marker is displayed Google has distorted the shape (squat and wide).

So my question(s) are:  

Why is Google doing this?  
Can I fix it.?  


Is there a set of compound/layered markers which Google supplies eg Blue+Letter that I can use and how are they used (code example please)?

Hope this make sense.

Attached is my test KLM code, a png of a distorted marker and a png of a marker as it should be.


<?xml version="1.0" encoding="UTF-8"?>

<kml xmlns="">



	<Style id="marker1">








	<Style id="marker2">










		<description>Newport beach golf club</description>








		<description>Nice Bar</description>








Open in new window

Question by:BeerFizz

    Author Comment

    Anybody any ideas?

    Accepted Solution

    KLM has a bug in that it re sizes to a minimum of 32px.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
    Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
    The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
    The viewer will learn how to dynamically set the form action using jQuery.

    746 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

    15 Experts available now in Live!

    Get 1:1 Help Now