I can publish map on the screen. I want that user choose a geojson file from mobile and loads to map.
I have a viewModel. I can change zoom, mapstyle, center props of the map anywhere. But, I could not access map's function from another files. It returns null except beginning of the programme.
I can publish map on the screen. I want that user choose a geojson file from mobile and loads to map.
I have a viewModel. I can change zoom, mapstyle, center props of the map anywhere. But, I could not access map's function from another files. It returns null except beginning of the programme.
How can I do that?