Reputation: 71
How do I add an image to my Google map precisely according to more than one LatLng value?
Here is my code:
private GoogleMap googleMap;
...
googleMap = ((MapFragment) getFragmentManager().findFragmentById(R.id.MainActivity)).getMap();
...
For example, I have the blueprint image of a car park. I would like to add this image to my Google map.Research seems to recommend converting the image into a vector graphic; however the next part is where I am confused.
However the purpose relates to navigation, therefore the image placement must be accurate. The car park is rectangularly-shaped and thus has four corners. Each corner has had its respective coordinates collected.
Upvotes: 0
Views: 650
Reputation: 22232
Try using GroundOverlay.
V2 API doesn't allow you to add vector graphics to the map (yet).
Upvotes: 1