I want to confirm one thing in Google maps that is why Google maps always showing South Africa as default location... Can't we change Australia as Default one. If GPRS enabled I can trace the current location if not i want to show Sidney in Australia . Is it possible ???
Look to the top-left corner of the map, and click the three horizontal menu bars. From the options, select Your places. Next, click Home. Type the name of the location you want to set as your home address in the address field.
Google Maps will show the user's current location if you ask for it.
You can also manually set the "default" location by moving the map to give a particular location.
CameraUpdate point = CameraUpdateFactory.newLatLng(new LatLng(53, 2));
// moves camera to coordinates
map.moveCamera(point);
// animates camera to coordinates
map.animateCamera(point);
Best to use moveCamera
rather than animateCamera
for the default position.
The reason you are seeing South Africa is because the map defaults to (0,0)
when initialised without any extra data, so it doesn't have somewhere to point to other than it's default. (0,0)
happens to be near Africa.
Use moveCamera
before the map is shown to the user and it will be showing wherever you have selected by default.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With