On Aug 11, 1:54 pm, Christopher Watson <[email protected]>
wrote:
> 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:

There is no documentation that describes this, it is software
algorithm design.

As I said, I started on an example that did this (it should be pretty
simple/straightforward), but apparently got interrupted and didn't
finish it and post it.  I will try to find it and finish it as time
permits, but I don't know when that will be.

  -- Larry

>
> 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-dat...>
> [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=1...>
> Reply<http://twitter.com/?status=@visualthinkmap%20&in_reply_to_status_id=1...>
> <http://twitter.com/?status=RT%20%40visualthinkmap%3A%20The%20Visual%2...>
> Retweet<http://twitter.com/?status=RT%20%40visualthinkmap%3A%20The%20Visual%2...>
>    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...>
>
>  Signature powered by
> <http://r1.wisestamp.com/r/landing?promo=4&dest=http%3A%2F%2Fwww.wises...>
> WiseStamp<http://r1.wisestamp.com/r/landing?promo=4&dest=http%3A%2F%2Fwww.wises...>
>
> 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-dat...>
> [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=1...>
> Reply<http://twitter.com/?status=@visualthinkmap%20&in_reply_to_status_id=1...>
> <http://twitter.com/?status=RT%20%40visualthinkmap%3A%20The%20Visual%2...>
> Retweet<http://twitter.com/?status=RT%20%40visualthinkmap%3A%20The%20Visual%2...>
>    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...>
>
>  Signature powered by
> <http://r1.wisestamp.com/r/landing?promo=4&dest=http%3A%2F%2Fwww.wises...>
> WiseStamp<http://r1.wisestamp.com/r/landing?promo=4&dest=http%3A%2F%2Fwww.wises...>
> 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.

Reply via email to