File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -684,6 +684,7 @@ export interface MapboxApi {
684684 addImage ( imageId : string , image : string , nativeMap ?: any ) : Promise < void > ;
685685
686686 removeImage ( imageId : string , nativeMap ?: any ) : Promise < void > ;
687+ project ( data : LatLng ) : { x : number ; y : number } ;
687688}
688689
689690// ------------------------------------------------------------
@@ -1034,6 +1035,9 @@ export abstract class MapboxViewCommonBase extends ContentView implements Mapbox
10341035 onDestroy ( nativeMap ?: any ) : Promise < any > {
10351036 return this . mapbox && this . mapbox . onDestroy ( this . getNativeMapView ( ) ) ;
10361037 }
1038+ project ( data : LatLng ) {
1039+ return this . mapbox && this . mapbox . project ( data ) ;
1040+ }
10371041}
10381042
10391043// -----------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments