![]() |
scalable image AND its map
the following is a simple way to make background image scalable.
Code:
<!doctype html>The purpose is being able to have an image scalable together with its responsive elements, with some html objects on top, also placed relatively to the scale of the image. I wonder if that is possible at all or a different environment would be needed. any advise? |
200 views and no reply? maybe it is the wrong subforum?
|
You're going to have to use either javascript or a server side language write the code for the map. It will need to 'know' the size of the image
and multiply the scale of the map accordingly. |
so it is possible? Great. JS is my option of choice.
Now it seems rather clear. I guess I understand what you mean. The map coordinates will be variables derived with such a formula: xnew=resolutionew*xold/resolutionold Is this correct? |
| All times are GMT +1. The time now is 02:39 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.