Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript List + google maps = headache Re: List + google maps = headache

#56643
kevsyers
Participant

Thanks for the link.

I’ve done that tutorial before and found it useful. However I’m not certain how they are getting the objects in the list to match the markers. I’m assuming it has something to do with this code:

Code:
$(“

  • “)
    .html(“Point “+i)
    .click(function(){
    map.panTo(marker.getLatLng());
    })

    .appendTo(“#list”);

    Again, I’m new to javascript so the solution might be staring right at me.

    Thanks again