You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Arsdezi

Intermediate

  • "Arsdezi" started this thread

Posts: 174

Location: Ukraine

  • Send private message

1

Sunday, March 30th 2014, 6:36am

imagemap - how to resizing and adapting?

Hello,
I'm using a imagemap example and I want to adapting open map to size on mobile/tablet devices. And of course needed resizing when change orientation of the device from landscape to portrait mode.
I spent a lot of time to do the "smart map", but for today my attempts failed! ;-)
To my understanding it was very difficult, I'm sure we need more complex mathematical calculations.
How? Any advise please... *question*
Thank you!
Cheers,
Ars
Arsdezi has attached the following file:
Panoreal — to make and see this wonderful world! *whistling*

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message

2

Sunday, March 30th 2014, 8:59am

Hi!
take a look at this
http://sudarchikov.com/shared/automapnew/tour_html5.html
http://sudarchikov.com/shared/automapnew/tour_swf.html

Draggable/scrollable multilevel map
Perhaps it can be usefull in such case

Regards
Andrey
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

Umalo

Professional

Posts: 1,048

Location: Osijek, Croatia, EU

  • Send private message

3

Sunday, March 30th 2014, 4:58pm

It is important to keep aspect ratio of the image and same time keep screen aspects in consideration. This is something I did in the past using examples provided by Klaus:
http://webonjee.com/radna-mapa/anton/__k…_map/index.html
Code you can see here: Code
Complete working example package you can download: Here




Enjoy the rest of the day ;)
regards
Umalo

Arsdezi

Intermediate

  • "Arsdezi" started this thread

Posts: 174

Location: Ukraine

  • Send private message

4

Tuesday, April 8th 2014, 6:53pm

Thank you, SOLVED!

Thank you guys for your responses!
Said before, but just noticed that my answer was not published!
Write again)

Umalo, yes! exactly! That thing that I need for my simple needs!
Really supermap *thumbsup*
I tried play with settings, works fine!
Thank you very much!
======== *thumbup* =========


Sudarchikov Andrey, hi!
is this plugin?: http://krpano.com/plugins/userplugins/automap/#top
Nice solution! Maybe I'm will try use in future projects with large plans/maps!
Thank you!
BTW, it's your plugin too? Map with mode of full size area, very usable:
http://spacer.gminakwidzyn.pl/
*squint*
Panoreal — to make and see this wonderful world! *whistling*