getMapDataPOIClassIDs
Returns the POI classes found in the installed map files, sorted by ascending class ID (BENAV5-1511).
A class is listed if its ID is between minClassID and maxClassID (both included), if it is a POI class of the address search (so the city centres, 7379, and hamlets, 7381, are never listed), and if the installed map files contain POIs of this class. Dynamic data (traffic, dynamic POIs, route highlight, external layers) is not read.
No map style is read, so unlike the MapStyle methods this one can be called from any thread. Scanning the map files takes tens of milliseconds on a phone, so call it off the main thread. Then keep the categories of getPOICategories (a map style lookup, main thread) whose class ID it returns: this lists the POI categories of the installed maps without blocking the main thread.
Return
the POI class IDs, or an empty array if the Core is not initialized, if the licence is locked or expired, or if the range is invalid.
Since
v2.11.0 Creation
Parameters
the lowest class ID to list (default CartoConst.KB_VEHICLE_REPAIR, 7310).
the highest class ID to list (default CartoConst.KB_TRUCK_REPAIR_AND_SERVICE, 9958).