I think what you can do, is join two event from each control and place the charts inside a DIV element with absolute position and a high z-index. Or, as I already stated, create a polygon line as an overlay on top of the map. If you want, you can always draw it as a result of an event triggering.
http://code.google.com/apis/maps/documentation/javascript/overlays.html#Polylines On Thu, Jul 28, 2011 at 4:44 PM, Viz Kid <[email protected]> wrote: > > Unfortunately I don't think that you can overlay the two things one over > the other easily. If you want the map to be entirely static, then possibly > you can have a floating div on top of the map and render the chart there > with a transparent background (by specifying the color to be "none"). I'm > not sure this will work on all browsers though, if any. > > Viz Kid > > > On Thu, Jul 28, 2011 at 3:50 PM, pwierz <[email protected]> wrote: > >> I am trying to get a line chart from the google charts api: >> >> http://code.google.com/apis/chart/interactive/docs/gallery/linechart.html >> >> To work inside the map controls using the Google Maps JavaScript V3 >> API as a custom control: >> >> http://code.google.com/apis/maps/documentation/javascript/controls.html >> >> Basically I want to superimpose some data while keeping the map >> visible beneath it. Thanks for any help. >> >> On Jul 28, 2:38 am, Roni Biran <[email protected]> wrote: >> > As far as I can see, you are not talking about line chart, but on >> polygon >> > line that you can place on a google map >> > >> > On Jul 28, 2011, at 9:28 AM, Viz Kid <[email protected]> wrote: >> > >> > Hi >> > >> > I'm not sure what you mean here. Can you elaborated a bit more what you >> are >> > trying to achieve and with which APIs? (what do you refer to as a "line >> > chart") >> > >> > Viz Kid >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > On Tue, Jul 26, 2011 at 4:26 AM, pwierz <[email protected]> wrote: >> > > I'm trying to add a line chart to a map control on google map API. >> > > When I try to add it to the control, it only displays as "Your browser >> > > does not support charts" with the map but if I load it outside of the >> > > map it works fine. This happens on both Firefox 5 and IE 8. Any help >> > > would be appreciated. Thanks. >> > >> > > -- >> > > You received this message because you are subscribed to the Google >> Groups >> > > "Google Visualization API" 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-visualization-api?hl=en. >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups >> > "Google Visualization API" 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 athttp:// >> groups.google.com/group/google-visualization-api?hl=en. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Visualization API" 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-visualization-api?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" 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-visualization-api?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" 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-visualization-api?hl=en.
