Objective:
Draw a line that between two points on Google Maps lets say City “A” and City “B”. Repeat the process to draw a line between City “B” and City “C”.
What we need:
Coordinates of 3 cities or any 3 locations that we want to connect.
Draw a line that between two points on Google Maps lets say City “A” and City “B”. Repeat the process to draw a line between City “B” and City “C”.
What we need:
Coordinates of 3 cities or any 3 locations that we want to connect.
- Abbottabad : 34159000,73220000
- Islamabad : 33695043,73050000
- Rawalpindi
:33615043, 73050000
- GeoPoint
:An
immutable class representing a pair of latitude and longitude,
stored as integer numbers of microdegrees
- Projection :A Projection serves to translate between the coordinate system of x/y on-screen pixel coordinates and that of latitude/longitude points on the surface of the earth.
- Point
:Converts
the given
GeoPoint
to onscreen pixel coordinates, relative to the top-left of theMapView
that provided this Projection
Here is the Screen: