@@ -353,9 +353,8 @@ export class MapboxView extends MapboxViewBase {
353353 } ) ;
354354 // this.delegate.setStyleLoadedCallback((map, style)=>{
355355 // this.delegate.setStyleLoadedCallback(null);
356-
357- // });
358356
357+ // });
359358
360359 _setMapboxMapOptions ( this . nativeMapView , this . settings ) ;
361360 _markers = [ ] ;
@@ -2248,7 +2247,6 @@ export class Mapbox extends MapboxCommon implements MapboxApi {
22482247 sw : CLLocationCoordinate2DMake ( options . bounds [ 1 ] , options . bounds [ 0 ] ) ,
22492248 ne : CLLocationCoordinate2DMake ( options . bounds [ 3 ] , options . bounds [ 2 ] ) ,
22502249 } ) ;
2251- console . log ( 'test' , sourceOptions [ MGLTileSourceOptionCoordinateBounds ] ) ;
22522250 }
22532251 source = MGLRasterTileSource . alloc ( ) . initWithIdentifierTileURLTemplatesOptions ( id , options . tiles , sourceOptions ) ;
22542252
@@ -2646,7 +2644,7 @@ class MGLMapViewDelegateImpl extends NSObject implements MGLMapViewDelegate {
26462644 }
26472645
26482646 private mapLoadedCallback : ( mapView : MGLMapView ) => void ;
2649- private styleLoadedCallback : ( mapView : MGLMapView , style :MGLStyle ) => void ;
2647+ private styleLoadedCallback : ( mapView : MGLMapView , style : MGLStyle ) => void ;
26502648
26512649 private mapboxApi : any ;
26522650
@@ -2721,7 +2719,7 @@ class MGLMapViewDelegateImpl extends NSObject implements MGLMapViewDelegate {
27212719 *
27222720 * @see Mapbox:setMapStyle()
27232721 */
2724- setStyleLoadedCallback ( callback : ( mapView : MGLMapView , style :MGLStyle ) => void ) {
2722+ setStyleLoadedCallback ( callback : ( mapView : MGLMapView , style : MGLStyle ) => void ) {
27252723 this . styleLoadedCallback = callback ;
27262724 }
27272725
@@ -2757,7 +2755,7 @@ class MGLMapViewDelegateImpl extends NSObject implements MGLMapViewDelegate {
27572755 *
27582756 * @link https://mapbox.github.io/mapbox-gl-native/macos/0.3.0/Protocols/MGLMapViewDelegate.html#/c:objc(pl)MGLMapViewDelegate(im)mapView:didFinishLoadingStyle:
27592757 */
2760- mapViewDidFinishLoadingStyle ( mapView : MGLMapView , style :MGLStyle ) : void {
2758+ mapViewDidFinishLoadingStyle ( mapView : MGLMapView , style : MGLStyle ) : void {
27612759 if ( Trace . isEnabled ( ) ) {
27622760 CLog ( CLogTypes . info , 'MGLMapViewDelegateImpl:mapViewDidFinishLoadingStyle(): callback called.' ) ;
27632761 }
0 commit comments