0

I use three canvas' over each other to draw a map for a robot application. The map gets constantly updated (on pixel level) based on the robots sensor results. I now want a part of this map to be displayed in a zoomed way at a diffent place on the page. Aim is to have a zoomed view of the robots actual position drawn above the complete map.

What is the best/easiest approach for this?

Thanks Robert

robvoi
  • 61
  • 8
  • Do you want a proper zoom, or just a texture stretch? – zero298 Jan 08 '14 at 15:16
  • Honestly - I don't know the difference. I know that the Quality will decrease. So there will not be more information just because I zoom in. I just want to see the robot and its surrounding in a bigger size as the size is too small on the complete map to see details. Quality doesn’t matter. Not knowing the difference I would say – whatever is simpler. – robvoi Jan 09 '14 at 05:59
  • OK.Just found the answer here: http://stackoverflow.com/questions/7423754/canvas-image-resize-and-copy-into-another – robvoi Jan 09 '14 at 09:50

0 Answers0