高德地图SDK(导航) V11.2.0501

Loading...
Searching...
No Matches
Instance Methods | Properties | List of all members
MAMapView(CustomMapStyle) Category Reference

`#include <MAMapView.h>`

## Instance Methods
(void) | - setCustomMapStyleOptions:
| 自定义地图样式设置,可以支持分级样式配置，如控制不同级别显示不同的颜色(自7.0.0开始样式有更新，旧的样式文件不能继续使用，必须到官网重新导出新样式文件。 自6.6.0开始使用新版样式，旧版样式无法在新版接口setCustomMapStyleOptions:(MAMapCustomStyleOptions *)styleOptions中使用，请到官网(lbs.amap.com)更新新版样式文件.) Custom map style settings support hierarchical style configurations, such as controlling different levels to display different colors (since version 7.0.0, the style has been updated, and old style files can no longer be used. You must re-export the new style file from the official website.From version 6.6.0, the new style is in use. The old style cannot be used in the new interface setCustomMapStyleOptions:styleOptions. Please update the new style file on the official website (lbs.amap.com).)

## Properties
BOOL | customMapStyleEnabled

## Detailed Description

自定义样式 Custom style

## Method Documentation

## ◆ setCustomMapStyleOptions:

- (void) setCustomMapStyleOptions: |  | (MAMapCustomStyleOptions *) | styleOptions |

自定义地图样式设置,可以支持分级样式配置，如控制不同级别显示不同的颜色(自7.0.0开始样式有更新，旧的样式文件不能继续使用，必须到官网重新导出新样式文件。 自6.6.0开始使用新版样式，旧版样式无法在新版接口setCustomMapStyleOptions:(MAMapCustomStyleOptions *)styleOptions中使用，请到官网(lbs.amap.com)更新新版样式文件.) Custom map style settings support hierarchical style configurations, such as controlling different levels to display different colors (since version 7.0.0, the style has been updated, and old style files can no longer be used. You must re-export the new style file from the official website.From version 6.6.0, the new style is in use. The old style cannot be used in the new interface setCustomMapStyleOptions:styleOptions. Please update the new style file on the official website (lbs.amap.com).)

Parameters

  styleOptions | 自定义样式options. since 6.6.0 Custom style options. since 6.6.0

## Property Documentation

## ◆ customMapStyleEnabled

- (BOOL) customMapStyleEnabled
| read write nonatomic assign

是否开启自定义样式, 默认NO. since 5.0.0 Whether to enable custom style, default NO. since 5.0.0

The documentation for this category was generated from the following file:

- MAMapView.h

© 2017 高德信息技术有限公司 版权所有，保留所有权利。