setMapType requires an array
sasalem-c opened this issue · 3 comments
sasalem-c commented
jaywcjlove commented
@sasalem-c What's the problem?
sasalem-c commented
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.
jaywcjlove commented
@sasalem-c The documentation does not explicitly identify the specific types of MapTypes
, this is inferred from the documentation.