The nation borders are all in a group 4 levels deep in the svg element for the first chart. Happens to be first child all the way down, so a css selector like "svg > g > g > g > g" ought to get you to the right one. Actually, I set display: none for that group, and I also changed the rect covering the entire chart at "svg > g > rect" so it has fill="transparent".
Looks like the offset between the two charts is just 8px vertically, so use top: 8px instead of top: 0. On Tue, Dec 6, 2016 at 11:42 AM, sitesALIVE <[email protected]> wrote: > Hi Daniel: > > I like the approach. I can't quite seem to replicate it - which div > contains the nation borders? That is the only piece I haven't implemented, > so for now the top marker chart is still hiding the bottom region chart, > although I can see it peeking out at the top, so I know the position / > z-index part is working. > > Thanks > Lauren > > On Tuesday, December 6, 2016 at 7:06:52 AM UTC-5, sitesALIVE wrote: >> >> Hi: >> >> I am trying to combine a markers map and a regions map. I am able to have >> both work separately, but don't know how to combine them. Very noob when it >> comes to Javascript. >> >> http://vg2016.sitesalive.com/map.html >> >> I tried having both scripts and giving them the same ID, then only >> calling that ID, but didn't seem to work. >> >> Any thoughts? >> >> Thanks. >> > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to google-visualization-api@ > googlegroups.com. > Visit this group at https://groups.google.com/ > group/google-visualization-api. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/google-visualization-api/32296c09-be2b-48e9-a996- > d1aebc7d4e00%40googlegroups.com > <https://groups.google.com/d/msgid/google-visualization-api/32296c09-be2b-48e9-a996-d1aebc7d4e00%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> [email protected] <[email protected]> 5CC, Cambridge MA -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-visualization-api. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJPt4c%2BXYk9LB4-ifs7Y5eUEt3AQYy0jprU%3DwstRRmMMDQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
