Set custom map style

Hi,

Im trying to set a custom map style but the map gets stuck into a continuous reload loop. I apply the style like this:

let customStyle = Bundle.main.path(forResource: "style", ofType: "json")
mapView.setStylePath(customStyle)

This is what i get in the terminal:

**tomtom-mapssdk.annotations [5 layer(s)]**

**vectorTiles [451 layer(s)]**

**2021-08-03 07:22:56.774202+0100 Drive Driver[2185:1267224] [DEBUG] {}[ParseStyle]: LayerSet: GpsRadius does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

**2021-08-03 07:22:56.774381+0100 Drive Driver[2185:1267224] [DEBUG] {}[ParseStyle]: LayerSet: Position does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

**2021-08-03 07:22:56.774425+0100 Drive Driver[2185:1267224] [DEBUG] {}[ParseStyle]: LayerSet: Chevron does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

**2021-08-03 07:22:56.774465+0100 Drive Driver[2185:1267224] [DEBUG] {}[ParseStyle]: LayerSet: EndRoute does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

**2021-08-03 07:22:56.774503+0100 Drive Driver[2185:1267224] [DEBUG] {}[ParseStyle]: LayerSet: StartRoute does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

**2021-08-03 07:22:56.774540+0100 Drive Driver[2185:1267224] [DEBUG] {}[ParseStyle]: LayerSet: Route does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

**[1 layer(s)]**

**tomtom-RANDOM-active-route [2 layer(s)]**

**tomtom-RANDOM-chevron [1 layer(s)]**

**tomtom-RANDOM-end-route [1 layer(s)]**

**tomtom-RANDOM-gpsradius [1 layer(s)]**

**tomtom-RANDOM-position [1 layer(s)]**

**tomtom-RANDOM-start-route [1 layer(s)]**

**tomtom-mapssdk.annotations [5 layer(s)]**

**vectorTiles [451 layer(s)]**

**[1 layer(s)]**

**tomtom-mapssdk.annotations [5 layer(s)]**

**vectorTiles [451 layer(s)]**

**2021-08-03 07:22:58.334251+0100 Drive Driver[2185:1267224] [DEBUG] {}[ParseStyle]: LayerSet: GpsRadius does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

**2021-08-03 07:22:58.334471+0100 Drive Driver[2185:1267224] [DEBUG] {}[ParseStyle]: LayerSet: Position does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

**2021-08-03 07:22:58.334719+0100 Drive Driver[2185:1267224] [DEBUG] {}[ParseStyle]: LayerSet: Chevron does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

**2021-08-03 07:22:58.334764+0100 Drive Driver[2185:1267224] [DEBUG] {}[ParseStyle]: LayerSet: EndRoute does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

**2021-08-03 07:22:58.334802+0100 Drive Driver[2185:1267224] [DEBUG] {}[ParseStyle]: LayerSet: StartRoute does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

**2021-08-03 07:22:58.335314+0100 Drive Driver[2185:1267224] [DEBUG] {}[ParseStyle]: LayerSet: Route does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

**[1 layer(s)]**

**tomtom-RANDOM-active-route [2 layer(s)]**

**tomtom-RANDOM-chevron [1 layer(s)]**

**tomtom-RANDOM-end-route [1 layer(s)]**

**tomtom-RANDOM-gpsradius [1 layer(s)]**

**tomtom-RANDOM-position [1 layer(s)]**

**tomtom-RANDOM-start-route [1 layer(s)]**

**tomtom-mapssdk.annotations [5 layer(s)]**

**vectorTiles [451 layer(s)]**

**[1 layer(s)]**

**tomtom-mapssdk.annotations [5 layer(s)]**

**vectorTiles [451 layer(s)]**

**2021-08-03 07:22:59.917997+0100 Drive Driver[2185:1267224] [DEBUG] {}[ParseStyle]: LayerSet: GpsRadius does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

**2021-08-03 07:22:59.918155+0100 Drive Driver[2185:1267224] [DEBUG] {}[ParseStyle]: LayerSet: Position does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

**2021-08-03 07:22:59.918553+0100 Drive Driver[2185:1267224] [DEBUG] {}[ParseStyle]: LayerSet: Chevron does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

**2021-08-03 07:22:59.918632+0100 Drive Driver[2185:1267224] [DEBUG] {}[ParseStyle]: LayerSet: EndRoute does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

**2021-08-03 07:22:59.918992+0100 Drive Driver[2185:1267224] [DEBUG] {}[ParseStyle]: LayerSet: StartRoute does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

**2021-08-03 07:22:59.919038+0100 Drive Driver[2185:1267224] [DEBUG] {}[ParseStyle]: LayerSet: Route does not satisfy requirements for mandatory layer sets. Using default LayerSet.**

**[1 layer(s)]**

**tomtom-RANDOM-active-route [2 layer(s)]**

**tomtom-RANDOM-chevron [1 layer(s)]**

**tomtom-RANDOM-end-route [1 layer(s)]**

**tomtom-RANDOM-gpsradius [1 layer(s)]**

**tomtom-RANDOM-position [1 layer(s)]**

**tomtom-RANDOM-start-route [1 layer(s)]**

**tomtom-mapssdk.annotations [5 layer(s)]**

**vectorTiles [451 layer(s)]**

Changing map style gets mapReadyCompletion called which created the loop.