Jump to content

problem with 2D co-ordinates


variax20
 Share

Recommended Posts

Hi everyone,

 

 

Just signed up to the forum :)

I have a problem which I'm hoping someone could possibly help me out with please. I have created an app using HTML5 Canvas, which basically allows the user to click on an image to place markers exactly where the mouse pointer is. This works fine on desktop computers but when trying it on a mobile device, the markers seem a bit mis-aligned, as if the co-ordinates being calculated have changed.

 

If anyone could help me out here, I'd really appreciate it.

 

Many thanks!

 

 

 

Ash

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...