sorry guys. the example might have been right in front of me and I am no
doubt stretching my coding skills but i'm not sure how to change the code to
make it fill
A B C D
E F ....
if i could see where it is in documentation i can trial and error, and i'm
assuming i'd change here:
function AddbbarEntry(index, numColumns, doc, bbarObj, bbarHtml) {
var bbar_entries = Math.floor(doc.placemarks.length/numColumns);
var column = Math.floor(index/bbar_entries)+1;
// alert("column="+column+", index="+index+", total
number="+doc.placemarks.length);
bbarObj[column] += bbarHtml;
}
but, dont know what to do with it. sorry. any links you can share to help
would be great.
cheers
chris
Chris Watson
Portfolio | http://vism.ag/inkplay
Vis Mag | http://vism.ag <http://vism.ag/inkplay>
Creative Maps | http://vism.ag/maps
Blog | Photo Data
App<http://visualisationmagazine.com/blogvisualthinkmap/2011/08/photo-data-app.html>
[image: Twitter] <http://twitter.com/visualthinkmap>tweeted: The Visual
Think Map Daily is out! http://bit.ly/b8a7pV ▸ Top stories today via @armano
Follow @visualthinkmap <http://twitter.com/visualthinkmap>
<http://twitter.com/?status=@visualthinkmap%20&in_reply_to_status_id=101721884831395840&in_reply_to=visualthinkmap>
Reply<http://twitter.com/?status=@visualthinkmap%20&in_reply_to_status_id=101721884831395840&in_reply_to=visualthinkmap>
<http://twitter.com/?status=RT%20%40visualthinkmap%3A%20The%20Visual%20Think%20Map%20Daily%20is%20out!%20http%3A%2F%2Fbit.ly%2Fb8a7pV%20%E2%96%B8%20Top%20stories%20today%20via%20%40armano>
Retweet<http://twitter.com/?status=RT%20%40visualthinkmap%3A%20The%20Visual%20Think%20Map%20Daily%20is%20out!%20http%3A%2F%2Fbit.ly%2Fb8a7pV%20%E2%96%B8%20Top%20stories%20today%20via%20%40armano>
19:29 Aug-11<http://twitter.com/visualthinkmap/statuses/101721884831395840>
Get this email app!
<http://www.wisestamp.com/apps/twitter?utm_source=extension&utm_medium=email&utm_term=twitter&utm_campaign=apps>
Signature powered by
<http://r1.wisestamp.com/r/landing?promo=4&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_4>
WiseStamp<http://r1.wisestamp.com/r/landing?promo=4&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_4>
Chris Watson
Portfolio | http://vism.ag/inkplay
Vis Mag | http://vism.ag <http://vism.ag/inkplay>
Creative Maps | http://vism.ag/maps
Blog | Photo Data
App<http://visualisationmagazine.com/blogvisualthinkmap/2011/08/photo-data-app.html>
[image: Twitter] <http://twitter.com/visualthinkmap>tweeted: The Visual
Think Map Daily is out! http://bit.ly/b8a7pV ▸ Top stories today via @armano
Follow @visualthinkmap <http://twitter.com/visualthinkmap>
<http://twitter.com/?status=@visualthinkmap%20&in_reply_to_status_id=101721884831395840&in_reply_to=visualthinkmap>
Reply<http://twitter.com/?status=@visualthinkmap%20&in_reply_to_status_id=101721884831395840&in_reply_to=visualthinkmap>
<http://twitter.com/?status=RT%20%40visualthinkmap%3A%20The%20Visual%20Think%20Map%20Daily%20is%20out!%20http%3A%2F%2Fbit.ly%2Fb8a7pV%20%E2%96%B8%20Top%20stories%20today%20via%20%40armano>
Retweet<http://twitter.com/?status=RT%20%40visualthinkmap%3A%20The%20Visual%20Think%20Map%20Daily%20is%20out!%20http%3A%2F%2Fbit.ly%2Fb8a7pV%20%E2%96%B8%20Top%20stories%20today%20via%20%40armano>
19:29 Aug-11<http://twitter.com/visualthinkmap/statuses/101721884831395840>
Get this email app!
<http://www.wisestamp.com/apps/twitter?utm_source=extension&utm_medium=email&utm_term=twitter&utm_campaign=apps>
Signature powered by
<http://r1.wisestamp.com/r/landing?promo=4&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_4>
WiseStamp<http://r1.wisestamp.com/r/landing?promo=4&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_4>
On Thu, Aug 11, 2011 at 7:18 PM, [email protected]
<[email protected]>wrote:
> On Aug 11, 10:13 am, Rossko <[email protected]> wrote:
> > > how can i do this,
> >
> > > 'You could just have the code fill in the columns as it goes, without
> > > needing to know the total number expected.'
> >
> > Column pointer = 1
> > loop over column data
> > do whatever with data into column indicated by pointer
> > increment pointer
> > if pointer > max (say four) then pointer = 1
> > next data item
>
> I think it is easier than that (I thought I had put together an
> example, but apparently not).
> Put first result in column 1, second result in column, etc
> wrap to first column for result 5, put result 6 in column, etc
>
> -- Larry
>
> --
> 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.
>
>
--
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.