Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Reply To: [Assigned] Google Map in Content Template

$
0
0

Dear Pickup,

The part that will add the map in the view is that:

<wpv-loop>
     <li data-marker-title="[wpv-post-title]"
         data-marker-lat="[types field="latitude"][/types]"
         data-marker-lon="[types field="longitude"][/types]"
         data-marker-id="[wpv-post-id]">
        <div class="team-info-wrap">
            <a class="js-map-center-map team-center-marker"
               title="Locate on map">
               <img src="/wp-content/uploads/2013/11/team.png" alt=""/>
            </a>
            <div class="team-infoWin js-map-infowindow-html">
               [types field="photo" id="" width="80"][/types]
               <h3>[wpv-post-title]</h3>
               <p class="team-role">[types field="role" id=""][/types]</p>
            </div>
        </div>
    </li>
  </wpv-loop>

The "data-marker-title", "data-marker-lat", " data-marker-lon" and "data-marker-id" are responsible for that.

Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.


Viewing all articles
Browse latest Browse all 20145

Trending Articles