I start to implement a web solution to display a GroundOverlay on a google maps. With IOS and Android, it's possible to add a GroundOverlay, with the center, image and zoom level but it's not possible in Javascript.
- Javascript : https://developers.google.com/maps/documentation/javascript/reference/image-overlay#GroundOverlay.constructor
- IOS: https://developers.google.com/maps/documentation/ios-sdk/reference/interface_g_m_s_ground_overlay#a894dab44f5fb3f7e5c45431f3e7ab513
So what is the mathematical solution to convert a position (Lat, Lng) to a bound ((Lat,Lng),(Lat,Lng))?
Here is what I have:
- Center Position (Latitude, Longitude)
- ImageUrl
- ZoomLevel
- Google Map