Page 1 of 1

Livemap sizes

Posted: 21 Aug 2018, 19:02
by skyff85
How can I change map size? By default its 1533 and second size is 767. How can I make my own sizes?
Thank You.

Re: Livemap sizes

Posted: 22 Aug 2018, 02:13
by Nyuton
the zoom scale multipliers are hardcoded at 0.5, 1, 2, 4 and 8. There's not much you can do about them without heavily modifying the Javascript code.
The whole zoom function is defined in livemap.js from line 382:

Code: Select all

this.zoom = function( zoomin ) {
... where zoomin is true or false telling if the person in zooming in or out.

Re: Livemap sizes

Posted: 22 Aug 2018, 19:16
by skyff85
Ok. Thank You.