I am using google maps API V3 to create a styled map where I am using custom colors. I am wondering if it is possible to use the satellite image of the water while using a custom style on the land. I.e. I'd like the water to be the satellite im开发者_C百科age while the land will be a custom solid color. Right now I can give the land and the water a custom color, but I'm wondering if I can assign the water styling somehow to come from the satellite imagery.
I don't think this is possible from digging through the API but just making sure I didn't miss anything.
Unfortunately at the moment that is not possible. The Google Styled Maps cannot be applied to map types other than the default ROADMAP
type. This was confirmed by a Google Employee on the mailing list on May 31st 2010:
- Google Maps API v3 Re: Using Styled Maps with TERRAIN map type?
... We don't currently support styling other map types, because we can not recolour the base imagery right now...
精彩评论