dale
Posts: 0
Joined: Fri Mar 29, 2013 5:28 pm

Where to add code to display something for each line of a dynamic grid?

I have some geo data (from google places REST) that I am displaying in a grid.
I would like entries to be plotted on a map.

I just don't really understand where I would add code to display the markers.
Would I add it to one (the last?) element in the row and add a "Add JS"? If I did this, how would I get the data from the previous elements of the row for the markers?

Just can't seem to get my head around it, anything that would point me in the right direction would be great.

Thanks,

Dale.

dale
Posts: 0
Joined: Fri Mar 29, 2013 5:28 pm

Where to add code to display something for each line of a dynamic grid?

Or, would it be better to add all the data to an array as the grid is displayed, in each mapping, and then call a function to plot the points?
I suppose I could use the REST service 'success' to call the function to plot the points?

Just wondering what the best approach would be?

Thanks,

Dale.

Return to “Issues”