It really depends on how you want your users to interact with the photos. The simple way would be to treat them as a custom marker: http://code.google.com/apis/maps/documentation/javascript/overlays.html#Markers
Chad Killingsworth On May 22, 12:46 pm, stefan <stefan.firnham...@gmail.com> wrote: > can anyone tell me how i can put different pictures to different > locations, as shown in the url below: > > http://connectedwell.com/wp-content/uploads/2008/05/brightkite_friend... > > var array = [ > [51.501743,-0.140461, '/pic1.png'], > [51.506209,-0.146796, '/pic2.png'], > [44.982806,-93.274852, '/pic3.png'], > ]; > > for(var i = 0; i < array.length; i++) > { > var item = array[i]; > > var latlng = new google.maps.LatLng(item[0], item[1]); > > var div = '<div style="background-color:#fff;padding:3px;border:1px > solid #000;"><img src="' + item[2] + '" border="0" /></div>'; > > //->what do i have to do next? how do i display each div? > > } > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To post to this group, send email to google-maps-js-api...@googlegroups.com. > To unsubscribe from this group, send email to > google-maps-js-api-v3+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/google-maps-js-api-v3?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.