GeoPoint coordinates are based in microdegrees (degrees * 1e6) — written here
float lat = -23.4456f;
float lng = 45.44334f;
GeoPoint gp = new GeoPoint((int)(lat * 1E6), (int)(lng * 1E6));
More Related Contents:
- How to draw a path on a map using kml file?
- This app won’t run unless you update Google Play Services (via Bazaar)
- How to display Toast in Android?
- GoogleService failed to initialize
- Capture screen shot of GoogleMap Android API V2
- Get altitude by longitude and latitude in Android
- moveCamera with CameraUpdateFactory.newLatLngBounds crashes
- How to use multiple MapActivities/MapViews per Android application/process
- One Google Maps key for all developers?
- Android: automatically choose debug/release Maps api key?
- How to handle onTouch event for map in Google Map API v2?
- Android: How do I set the zoom level of map view to 1 km radius around my current location?
- MapView rendering with tiles missing with an “x” in the center
- How to animate marker in android map api V2?
- Map View draw directions using google Directions API – decoding polylines
- Android MapView -setting zoom automatically until all ItemizedOverlay’s are visible
- Rotate MapView in Android
- Android draw route on a Mapview with twoo POI-s
- Android Maps Point Clustering
- How does one implement drag and drop for Android marker?
- Relocate Google logo in MapView
- How to draw dashed polyline with android google map sdk v2?
- Error Inflating class com.google.android.maps.MapView
- How can I handle map move end using Google Maps for Android V2?
- android maps: How to Long Click a Map?
- Keytool alias does not exist
- Comparing two locations using their Longitude and Latitude
- Android “Hello, MapView” Tutorial – Map Tiles Do Not Load
- Android – MapView contained within a Listview
- How to display popup on tapping overlay in android?