I try post again.
1. tested simple style at the link below
http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html
Feature type: all
Element type: all
visibility: on
hue #ff0000
saturation: 100
lightness: -50
gamma: 1.0
this makes a red map.
2. tested same thing with as3 library with map3d class
var styles:Array = [
new MapTypeStyle(
MapTypeStyleFeatureType.ALL,
MapTypeStyleElementType.ALL,
[
MapTypeStyleRule.visibility( "on" ),
MapTypeStyleRule.hue( 0xff0000 ),
MapTypeStyleRule.saturation( 100 ),
MapTypeStyleRule.lightness( -50 ),
MapTypeStyleRule.gamma( 1.0 )
]
)
];
var styledMapOptions = new StyledMapTypeOptions( { name:"TESTMAP",
alt:"TESTMAP" } );
var styledMapType:StyledMapType = new StyledMapType( styles,
styledMapOptions );
map.addMapType( styledMapType );
map.setCenter( center, 16, styledMapType );
on the other hand, this makes local roads to red but not the arterial
roads. they remain yellow.
and the parks are still green. and water is dark blue.
I haven't check with normal IMap implemented class yet.
Thank you.
On 11月10日, 午前3:02, Yo Yama <[email protected]> wrote:
> Hi,
>
> I experimented StyledMapType class today.
> But it didn't work well.
>
> the result looks different even
> when 'hue', 'saturation', 'lightness', 'gamma' are same as I tryed
> athttp://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/in...
>
> Does anyone have same trouble?
--
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.