September 2015
Beginner to intermediate
356 pages
7h 27m
English
In general, Google Maps fills the entire container and its controls are displayed at the edges. They are as follows:
Other than these, the Google Maps copyright information is displayed in the bottom-left corner.
There may be situations where you may have to display other information in place of these elements. To make this possible, you can pad the elements in the corners.
This can be done by calling the setPadding() method on the GoogleMap object. It takes pixels as an integer value to pad the left, top, right, and bottom edges.
It would be called as follows:
map.setPadding(400, ...
Read now
Unlock full access