Open sasalem-c opened 9 months ago
@sasalem-c What's the problem?
As per the official Baidu documentation, setMapType has one parameter of MapType object not an array. Setting it to any array won't change map type.
@sasalem-c The documentation does not explicitly identify the specific types of MapTypes
, this is inferred from the documentation.
I noticed that setMapType function signature requires an array of MapType while it should be a single object.