title: KML Placemark Icon has different anchor point in Google Earth than when loaded in Google Maps, Why?
body: <p>I have a KML file containing placemarks with custom icons.</p>
  <p>When viewed in Google Earth the anchor point is center of the icon. Like this ...</p>
  <p><a href="https://i.stack.imgur.com/dAGMr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dAGMr.png" alt="enter image description here" /></a></p>
  <p>When the KML file is viewed in Google Maps on my website, the anchor point changes to be the bottom center of the icon. Like this ...</p>
  <p><a href="https://i.stack.imgur.com/Y8hsQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Y8hsQ.png" alt="enter image description here" /></a></p>
  <p>Why is this? And how do I change it so that when loaded by Google Maps API the anchor point is in the center of the icon?</p>
  <p>Here is the styling in the KML file ...</p>
  <pre><code>&lt;Style id=&quot;Parking&quot;&gt;
      &lt;IconStyle&gt;&lt;Icon&gt;&lt;href&gt;http://www.virtualmountains.co.uk/shared/Parking.png&lt;/href&gt;&lt;/Icon&gt;&lt;/IconStyle&gt;
      &lt;BalloonStyle&gt;
          &lt;text&gt;$[description]&lt;/text&gt;
          &lt;bgColor&gt;white&lt;/bgColor&gt;
          &lt;text&gt;&lt;![CDATA[
              &lt;font color=&quot;#674A32&quot; face=&quot;arial&quot; align=&quot;justify&quot;&gt;$[description]&lt;/font&gt;
          ]]&gt;&lt;/text&gt;
      &lt;/BalloonStyle&gt;
      &lt;LabelStyle&gt;
          &lt;color&gt;FFFFFFFF&lt;/color&gt;
          &lt;scale&gt;0.8&lt;/scale&gt;
      &lt;/LabelStyle&gt;
  &lt;/Style&gt;
  </code></pre>
  <p>Here's the placemark code ...</p>
  <pre><code>&lt;Placemark&gt;
      &lt;name&gt;A5 Parking, Tryfan&lt;/name&gt;
       &lt;description&gt;        
          &lt;![CDATA[
              &lt;DIV style=&quot;max-width:400px; margin-right:10px; margin-bottom:10px; color:#674A32; font-family:Arial&quot;&gt;
                  &lt;DIV style=&quot;font-size:11pt; font-weight:bold; text-align:left&quot;&gt;A5 Parking, Tryfan&lt;BR&gt;&lt;/DIV&gt;
                  &lt;DIV style=&quot;font-size:10pt; text-align:justify&quot;&gt;&lt;BR&gt;
                      There is a parking here alongside a great length of the A5.
                  &lt;/DIV&gt;
              &lt;/DIV&gt;
          ]]&gt;
      &lt;/description&gt;
      &lt;styleUrl&gt;#Parking&lt;/styleUrl&gt;  
      &lt;Point&gt;&lt;coordinates&gt; -3.991196, 53.125136,0&lt;/coordinates&gt;&lt;/Point&gt;
  &lt;/Placemark&gt;
  </code></pre>