Hello all,

I'm constructing a map from a google spreadsheet that I built. I
started with the really neat examples here:

http://googlesystem.blogspot.com/2007/04/map-list-of-locations-from-google.html
http://gmaps-samples.googlecode.com/svn/trunk/spreadsheetsmapwizard/makecustommap.htm

These examples are v2 code, which I've ported to v3. Everything works
great.

My question, which I hope is on-topic, is about clean ways to build
the HTML content for infoWindows. Both the original example and my v3
code expect the HTML to come fully formed from the spreadsheet. That's
OK, I suppose, but I'd really rather have a "template," for lack of a
better word, that I can populate with data from the spreadsheet and
then push into infoWindow as content. I'm just not sure what the best
way to go about that is.

I've done my googling, but I haven't found much. The closest I could
come was a reference to doing something like this in dojo:

http://elshawwa.blogspot.com/2010/07/dojo-templates-google-maps-infowindow.html

but this still feels like a bit of a kludge to me (maybe it's not. I'm
not an awesome javascript programmer, nor do I claim to be).

Would anyone be willing to share how they do this?

-- 
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