tags:

views:

635

answers:

4

We'd like to use Google Maps to keep track of local garage sales. We've created a map (see here) and we'd like to embed that map on our website. However, when we do, we lose the sidebar of the map that contains a list of all the garage sales.

We're quite familiar with how to embed a Google; they've made the process quite simple. However, is there a way that we can embed the map and keep the sidebar list of garage sales?

+3  A: 

To my knowledge, the best way would be to create your own container of the sales and link them to a map you are populating. I am assuming you are building and entering your data on Google's site and using the embed feature, which means my answers is significantly more work.

You would need to have your down data source and use the Maps API to create a map and a sidebar.

Your woudln't be using the iFrame anymore, you would be coding your own solution. If you have done JavaScript before, it is really fairly easy, if you haven't there are some good examples.

MrChrister
A: 

What you want to do requires use of the MAPS API but it's not very hard if you know some javascript. Essentially, load the datapoints into a Javascript array, plot them on the map and then populate your html with the array information.

This link is a page I recently wrote that does the above and also dynamically repopulates the array from the db as the user drags the map (hardly any CSS at present either).

map with dynamic links

Happy to answer any more comments.

P.S. Cool map icon!

Tim

timbo
A: 

I found one site that will generate your map with a sidebar, but if you want more control, you'll need to create your own map, as the others have suggested.

http://www.mymapsplus.com/AddMyMap

http://www.mapchannels.com/

Chris B
A: 

Another site that will generate your map with a sidebar is mapalist.com.