An image fixed on a map is a ground overlay. The image orientation changes when the orientation of the ground overlay against the earth service is made, such as tilting, rotating or zooming. When one wants to fix a single image on a map area, ground overlays come in handy. If there is a need for an extensive imagery addition on a large map location, tile overlay is the best option.
The ground overlay can be added by first creating a GroundOverlayOption object, which has a declaration of both the position and the image. Additional settings and specifications can be specified, which will impact the image positioning on the map ( Meier, 2012) . After defining the object and necessary options, the object is passed to the GoogleMap.addGroundOverlay() method. This method will add the image to the map. The GroundOverlay object is returned by the addGroundOverlay method. It is essential to maintain a reference to the GroundOverlay object if it is to be modified. So, for my application, I will instantiate a new object called GroundOverlayOption. Then, I will Have an image with BitmapDescriptor as the specification. I will set the image position using the available methods: position(LatLng location, float width), position(LatLng location, float width, float height), positionFromBounds(LatLngBounds bounds). I will set other optional properties like transparency. Then, I will call the GoogleMap.addGroundOverlay() method to add the image to the map. The ground overlay position can be specified in two ways. One way is by using the LatLngBounds, which helps specify the image corners in south west and north east. The other way is using LatLng for centering the image and specifying the image size in meters dimensions. The position specifications are done before the image is added to the map.
Delegate your assignment to our experts and they will do the rest.
Tile overlay can be added by having a URL that directs one to relevant images in a tile. So I will define the urlTileprovider, which will point to the tile images. Then override the getTileUrl method, which will construct each tile image URL. Then I will create a TileOverlayOptions object with relevant specifications like fadeIn, transparency, visible, zIndex, and tileProvider. Lastly, I will call the GoogleMap.addTileOverlay() method, which will add an overlay to the map.
References
Meier, R. (2012). Professional Android 4 application development . John Wiley & Sons.