Using a KML file to display thumbnail & full size pictures in My Maps

397 Views Asked by At

I'm afraid my original post was not very clear, so I've rewritten my question.

My basic question is how to modify a KML file to best display (in Google My Maps) two or more photos taken at a particular location. No matter what I do to the KML file (see below), when I click on a marker I always end up with only the first picture being displayed TWICE as shown in this example:

Result of clicking on a place marker with 2 pictures

Below is a snippet of my KML code. Please note that <img src... points to the full-sized version of the picture.

# Marker(s) [1, 2]

<Placemark>
  <name>Markers 1,2</name>
  <styleUrl>#Pic2</styleUrl>
  <description>
    <![CDATA[
        <table>
        <tr>
          <td>[1] This Monarch butterfly found Bob H. at the beginning of the hike and stayed around quite awhile!</td>
          <img src="https://drive.google.com/uc?export=open&id=16a_438A1OCihb1SnYUPm0t9O3WDEdt6u">
        </tr>
        <tr>  
          <td>[2] Denny L. along with Sarah (and "Cooper") also seem ready to start.</td>
          <img src="https://drive.google.com/uc?export=open&id=1KMGYeJDgqBDJwgkwYju6vlA8--XehACQ">
        </tr>
        </table>
    ]]>
  </description>
  <Point>
    <coordinates>-82.7915648,35.2841368</coordinates>
  </Point>
</Placemark>

If I click on EITHER of the pictures in the example I get the full-sized version of that picture. Then, using the ">" and "<" that are displayed next to that full-sized picture I can move to the other pictures taken at that location. This isn't TERRIBLE, but I'd really like to initially see thumbnails of all the pictures taken at a particular location. Clicking on a thumbnail should then bring up the full-sized version. (Also, I don't really want 2 copies of the first picture!)

No matter what I do - including adding an line pointing to the thumbnail - I get exactly the same result when clicking on a marker.

I'm not sure if it is possible to do what I'd like, but any suggestions/thoughts would be greatly appreciated!

Wayne

0

There are 0 best solutions below