I have a map it zooms and draws a rectangle.  I want everything but
the rectangle to be
styleOpts.opacity = 0.6;
styleOpts.fillColor = '#000';
but I am having trouble setting everything else to be semi-
transparent..  This is the code I am working with:

/**
 * Resets CSS and button display when drag zoom done
 */
DragSelectControl.prototype.resetDragZoom_ = function() {
  var G = this.globals;
  var code = [];
  DragZoomUtil.style([G.mapCover, G.cornerTopDiv, G.cornerRightDiv,
G.cornerBottomDiv, G.cornerLeftDiv],{display: 'none', opacity:
G.style.opacity, filter: G.style.alphaIE});
  G.outlineDiv.style.display = 'none';
  //styleOpts.opacity = 0.2;
  //var zcontrol = new DragZoomControl(styleOpts, otherOpts, {});
  code.push('styleOpts.opacity = ' + 0.2 + ';');
  this.setButtonMode_('normal');
  //if (G.options.backButtonEnabled  && (G.backStack.length > 0))
G.backButtonDiv.style.display = 'block'; // show the back button

};

the code push variable is doing nothing right now how do I tell it I
want everything else but the rectangle selection to stay semi-opaque??

Your Assistance would be uber helpful and greatly appreciated thanks
in adavance -Brendon Smith

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps 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-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to