2

Possible Duplicate:
How to draw lines over ImageView on Android?

I'm trying to find out how to draw lines (which will be paths of an map) on a uploaded ImageView. What i'm trying to do is upload an map on my app, and then draw lines to represent paths through this map. I've just found how to do that using Google Maps's APIs. I'd like to upload my own map on it. Is it possible to do?

Community
  • 1
  • 1
Felipe Mosso
  • 3,907
  • 11
  • 38
  • 61

1 Answers1

0

I think that this may be a duplicate of How to draw lines over ImageView on Android?

But in case it isn't, if I understand you correctly you want to draw lines on top of an ImageView dynamically to show paths which I believe can be accomplished with the drawLine method.

You'll probably need to override the onDraw method of the ImageView and keep a list of the points for the path.

Community
  • 1
  • 1
jshaffer
  • 16
  • 2