- Home /
Convert LatLong values into unity coordinates and display hotspots in Camera View
I am trying to build a prototype with reference to the CN tower viewfinder app . Here as soon as the app loads a 360 image is shown and hotspots are placed at locations. I would like to implement this in ARCore camera view. What I would like to do is show hotspots on different buildings seen through the camera. I tried to add the latitude and longitude of these locations manually. When I ran the app , I noticed that they were not within the camera's field of view and appeared too far. This was after I used the implementation mentioned in the accepted answer here. I tried to add the latitude and longitude values on the X and Z positions of the gameObjects and they overlapped onto each other as the lat and long values were only a few values apart. What is the right method to convert lat and long to unity co-ordinates? I have come across many answers but for my requirement nothing really seems to be do the trick. Is it possible to really place markers in exact gps locations in unity?
Your answer
