hey, 

i'm just perplexing myself over it now. found the  function addAddbbarEntry 
and not the faintest, although i try and search endlessly through 
geocodezip.com and the geoxml3 http://code.google.com/p/geoxml3.

i got to this so far: http://creativemaps.vism.ag/indexheight.htm

function AddbbarEntry(index, numColumns, doc, bbarObj, bbarHtml) {
   var bbar_entries = Math.floor(doc.placemarks.list/numColumns);
   var column = Math.floor(index/bbar_entries)+1;
// alert("column="+column+", index="+index+", total 
number="+doc.placemarks.list.size == 10);   
   bbarObj[column] += bbarHtml;
}

but i dont know how to make it calculate the 'number of placemarks that are 
going to be displayed in the "list".'


i could imagine it slowing the map. i'm suspecting it would keep having to 
perform that calculation as the user might say, 


   1. click and center map on london
   2. move the map to navigate around it
   3. search their area of london with geolocate search box i put there, 
   because it isnt in view and they see it as easier to find with that
   4. click on a placemark (map centers on that)
   5. if they like my site that much, think "i'm in manchester regularly, 
   whats there?"
   6. hmm, whats this placemark (map moves again to center on placemark)
   7. click show all in sidebar as they have been zooming a little and want 
   a refresh - or - click london again to refres

...i'm assuming these all would be making it perform this calculation of how 
many placemarks are on show? does it need to know the total number?

say there are 50 in the map window, but my columns at 10 each are 4 = 40, 
cant the remaining just display in a... what i assumed... hoped a <div 
overflow=drop down> (not checked the div code yet, just seen it before)? 
does it need to calculate how many are on show?


but yeah, not sure how to make them spill into 4 columns with list, this is 
my attempt above. cant find any examples or documentation to see it done.


-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/roVf-yPplnYJ.
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.

Reply via email to