//package com.awesomeproject3;
//
//import android.os.Bundle;
//import android.view.LayoutInflater;
//import android.view.View;
//import android.view.ViewGroup;
//
//import androidx.annotation.Nullable;
//import androidx.fragment.app.Fragment;
//
//import com.awesomeproject3.tangram.handler.TangramHttpHandler;
//import com.tplmaps3d.MapController;
//import com.tplmaps3d.MapView;
//
//public class FragmentMapNative extends Fragment implements MapView.MapReadyCallback {
//
//    private MapView mapView;
//
//    @Override
//    public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {
//        super.onCreateView(inflater, parent, savedInstanceState);
//        // customView = new CustomView(this.getContext());
//        View rootView = inflater.inflate(R.layout.fragmnet_map, parent, false);
//        mapView = rootView.findViewById(R.id.map);
//
//
//        TangramHttpHandler tangramHttpHandler = new TangramHttpHandler(requireContext());
//        tangramHttpHandler.createHttpHandler();
//
//        if (mapView != null)
//            mapView.getMapAsync(this, tangramHttpHandler.getHttpHandler());
//
//        return rootView; // this CustomView could be any view that you want to render
//    }
//
//
//
//
//    @Override
//    public void onMapReady(@Nullable MapController mapController) {
//
//    }
//}
