Jump to content

Zoom with grid on image


cyrial

Recommended Posts

Hi,

I'm totally new in ajax/javascript and have major problem with something I need to implement.

 

Here - http://maps.tribal-legacy.net - you can find dynamically generated heightmap image (512x512px) which I need to zoom. For example I'd like to choose area by moving 50x50px rectangle and zoomed area should appear on the right side of the page. Additionally this zoomed area should have grid on it so I could place objects (one object == one color). Have you got any ideas how this thing can be realized or have you got any helpful links?

 

I will appreciate any information.

Link to comment
Share on other sites

Ok, I sorted out how to zoom image as I wanted to using jquery.jcrop library. Now i just need to insert code which will allow me to draw on the right, zoomed image with proper x, y update on the left image as a preview. Any ideas?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.