javascript - Darkened map around light area circle where marker resides in Google Map -
i'm trying darken of map except region inside circle, have marker. inside want map light. i'm trying play around setting lightness of map, not sure if that's correct approach? in code below , in fiddle can create dark map, can't figure out how make area inside circle light. see picture @ bottom example of i'm trying do. <!doctype html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> <script type="text/javascript"> var $styles = [{ stylers: [{ lightness: -60 }] }]; var mapoptions = { zoom: "", zoomcontrol: "", center: "", disabledefaultui: "", draggable: ...