Support » Plugin: AcuGIS Leaflet Maps » How to do noWrap?

  • I am trying to figure out how to do the following with mapfig, as I do not want to continue to edit a html file manually.

    continuousWorld: false,
    noWrap: true,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Ghedini

    (@mapfig)

    Can you provide an example?

    So this is my test leafletjs
    http://five-rings-online.net/rokugan/

    this is what y’all have
    http://five-rings-online.net/map/

    If you zoom out all the way you see it wrapping around and offering multiple verison of the same map, you can also zoom too far into the map of the plugins and have the image just disappear.

    Here is the tile reference that I have for the map Note max zoom, continousworld and no wrap.

    // Reference the tiles
    L.tileLayer(‘http://five-rings-online.com/rokugan/map/{z}/{x}/{y}.png’, {
    minZoom: 1,
    maxZoom: 6,
    continuousWorld: false,
    noWrap: true,
    }).addTo(mymap);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to do noWrap?’ is closed to new replies.