Agreed. I've just added a visualClass property to the keydragzoom control so that you can prevent the visual portion of the control from printing by setting visualClass to noprint, the CSS class in your example above.
Gary On Nov 28, 8:34 pm, Chris Broadfoot <[email protected]> wrote: > It's "gmnoprint" but I wouldn't rely on this because it is not documented. > Best to define your own as I showed before. > > > > On Mon, Nov 29, 2010 at 12:31 PM, Gary Little <[email protected]> wrote: > > Thanks, Chris, that's how I'll have to deal with it. > > > If I knew the name of the class Google is using to prevent printing I > > could assign it to the custom control to get the default behavior > > (i.e., don't print the control) without developers having to assign a > > class as you've suggested. > > > Gary > > > On Nov 28, 1:50 pm, Chris Broadfoot <[email protected]> wrote: > > > If your custom control has class "noprint": > > > > @media print { > > > .noprint { > > > display: none; > > > } > > > > } > > > > Chris > > > > On Sunday, November 28, 2010, Gary Little <[email protected]> wrote: > > > > I want to prevent the visual element of a custom control from > > > > appearing when a map is printed. Does anyone know if this can be done? > > > > In other words, is there a standard (Google Maps) CSS class I can > > > > assign to the DIV for a custom control so that CSS display is set to > > > > "none" when printing. > > > > > -- > > > > 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]<google-maps-js-api-v3%2B > > [email protected]> > > . > > > > For more options, visit this group athttp:// > > groups.google.com/group/google-maps-js-api-v3?hl=en. > > > -- > > 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]<google-maps-js-api-v3%2B > > [email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-maps-js-api-v3?hl=en. -- 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.
