somebody can help me please ? On Sep 20, 2:36 pm, Greg45 <[email protected]> wrote: > Ok I Have find exactly what I want ! > > the original script : > > http://www.wolfpil.de/v3/toggle-cats.html > > I need to modify this script because I want to show just the marker > selected in my side bar. And with this script all marker with the same > categories appear in the side bar. The problems come from this > function ( I think) : > > function makeSidebar() { > > var oldheader; > var contentString = ""; > for (var i= 0; i < gmarkers.length; i++) { > if (gmarkers[i].getVisible()) { > > var header = gmarkers[i].category; > header = header.replace(/^./, header.charAt(0).toUpperCase()); > if (oldheader != header) contentString += "<b>"+ header+"s<\/b><br > \/>"; > contentString += '<a id="'+ gmarkers[i].id+'" > href="javascript:Info('+i+')" onmouseover="hover.over(this.id)" > onmouseout="hover.out(this.id)">' + gmarkers[i].name + '<\/a><br \/>'; > oldheader = header; > } > } > document.getElementById("sidebar").innerHTML = contentString; > } > > For me if all marker appear in the sidebar, it's because this loop > make discord : > for (var i= 0; i < gmarkers.length; i++) { > if (gmarkers[i].getVisible()) { > > Could you help me to modify this script please ? > > My test page ->http://greglg.free.fr/spotme/final.html > > Thank you ! > > Greg > > On Sep 15, 10:20 am, Greg45 <[email protected]> wrote: > > > I'm Sorry but I try to understand your link but without example I > > don't understand. > > I'm not english and Developer is not my job so it's not easy to > > understand all. > > > Could you Help me to find the soluce to push my data to my div > > please ? > > > On Sep 14, 11:47 pm, "[email protected]" <[email protected]> > > wrote: > > > > On Sep 14, 2:12 pm, Greg45 <[email protected]> wrote: > > > > > please help me , Or just say me the name of this function > > > > Look at how Mike Williams builds the sidebar div in his (v2) tutorials > > > (the first link Dave gave you). The sidebar is a div, outside of the > > > map, and it is updated by the "map" javascript, I think his > > > "categories" map even updates it dynamically. > > > More advanced stuff - Part 25 Marker > > > Categorieshttp://econym.org.uk/gmap/categories.htm > > > > None of that code will be v2 specific (at least the code that updates > > > the sidebar won't be). > > > > In the marker "click" listener, don't open an infowindow (or click on > > > a marker, depending on which map you are looking at), update the div > > > instead. > > > > If none of this helps, post a link to your map where you are trying to > > > do this and running into problems. > > > > -- Larry > > > > > On Sep 13, 11:38 pm, Greg45 <[email protected]> wrote: > > > > > > thanks Dave but I search on your website without success. > > > > > > I don't know how to show the marker's data outside. > > > > > > Do you have any idea ? > > > > > > On Sep 13, 10:20 pm, DaveGivesPHPaShot <[email protected]> wrote: > > > > > > > Hello Greg45 > > > > > > The gentleman who produced this site has a lot of examples I found > > > > > > helpful.http://econym.org.uk/gmap/basic2.htm > > > > > > > Also, try this search in google > > > > > > site:http://gmaps-samples-v3.googlecode.com/svn/trunk/ > > > > > > you will find a lot of need examples of things that can be done. > > > > > > > On Sep 13, 4:43 pm, Greg45 <[email protected]> wrote: > > > > > > > > Hello, > > > > > > > > I work actually on website based > > > > > > > withhttp://code.google.com/apis/maps/articles/phpsqlajax_v3.html > > > > > > > > And I want to show the data, NOT in the infowindow but on the > > > > > > > right on > > > > > > > my website like this : > > > > > > > >http://www.fastfoodmaps.com/ > > > > > > > > Somebody have make this on api V3 or know where I can find a > > > > > > > tutorial ? > > > > > > > > Thanks > > > > > > > > Regards- Hide quoted text - > > > > > - Show quoted text -
-- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
