• Resolved Vassilenkoff

    (@vassilenkoff)


    Is there a way to make sure that on load the map autofits the area depending on the markers it has? In other words, all markers are shown no matter how far they are from each other (autozooming I guess)?

Viewing 1 replies (of 1 total)
  • Thread Starter Vassilenkoff

    (@vassilenkoff)

    Alright, that was quick: solved this one.

    All you have to do is add “autofit:{}” to the “nwp-gmap3.js” file on the line #347, right before the “});“.

    Eventually, the code will look like this:

    x:11,
    y:-15
    }
    }
    },
    autofit:{}
    });
    }
    }
    },
    events:{

    Hope this helps someone. And big thanks to Tijmen for such a great plugin!

Viewing 1 replies (of 1 total)
  • The topic ‘Nomad World Map’ is closed to new replies.