It is a sorry Korean site.
You understand it if you watch an image.

http://cafe.naver.com/gisapplication/37


private function ChangeMapColor(nMode:Number):void
  {
   var spriteGMap:Sprite;
   var mat:Array;
   var colorMat:ColorMatrixFilter;

   if(nMode==0) //monochrome
 
mat=[0.3086,0.6094,0.082,0,0,0.3086,0.6094,0.082,0,0,0.3086,0.6094,0.082,0,0,0,0,0,1,0];
   else         //light and shade(MapColor)
    mat=[nMode,0,0,0,0, 0,nMode,0,0,0, 0,0,nMode,0,0, 0,0,0,nMode,0];;

   colorMat = new ColorMatrixFilter(mat);

   var a:Sprite = Application.application.map.getChildAt(1) as Sprite;
   spriteGMap = a.getChildAt(0) as Sprite;
   spriteGMap.filters = [colorMat];
  }

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

Reply via email to