File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2156,7 +2156,7 @@ export class Mapbox extends MapboxCommon implements MapboxApi {
21562156 }
21572157 }
21582158 if ( options . bounds ) {
2159- sourceOptions [ MGLTileSourceOptionCoordinateBounds ] = NSValue . valueWithMGLCoordinateBounds ( {
2159+ sourceOptions [ MGLTileSourceOptionCoordinateBounds ] = ( NSValue as any ) . valueWithMGLCoordinateBounds ( {
21602160 sw : CLLocationCoordinate2DMake ( options . bounds [ 1 ] , options . bounds [ 0 ] ) ,
21612161 ne : CLLocationCoordinate2DMake ( options . bounds [ 3 ] , options . bounds [ 2 ] ) ,
21622162 } ) ;
@@ -2213,7 +2213,7 @@ export class Mapbox extends MapboxCommon implements MapboxApi {
22132213 }
22142214
22152215 if ( options . bounds ) {
2216- sourceOptions [ MGLTileSourceOptionCoordinateBounds ] = NSValue . valueWithMGLCoordinateBounds ( ( {
2216+ sourceOptions [ MGLTileSourceOptionCoordinateBounds ] = ( NSValue as any ) . valueWithMGLCoordinateBounds ( ( {
22172217 sw : CLLocationCoordinate2DMake ( options . bounds [ 1 ] , options . bounds [ 0 ] ) ,
22182218 ne : CLLocationCoordinate2DMake ( options . bounds [ 3 ] , options . bounds [ 2 ] ) ,
22192219 } ) ) ;
You can’t perform that action at this time.
0 commit comments