Skip to content

Option to not wrap the world #3785

Closed
Closed

Description

@Que3216

We have a world map, in a panoramic container, that starts out fully zoomed out, but the wrapping looks pretty silly (can get 3+ copies of the world): http://jsfiddle.net/3wjybdf5/1/. Would it be possible to add a noWrap option? How hard would it be to add a noWrap option?

Solutions which don't work:

  • Using mapBounds (noWrap map option #1488). We want to show the full world, and the map container is panoramic, not square.
  • Shrinking the map container, or changing the shape of the container. As you zoom in we still want the map to fill the the bounds of the panoramic container.

Activity

  1. lucaswoj commented on Dec 12, 2016

    @lucaswoj
    Contributor

    This wouldn't be too difficult to add @Que3216. I encourage you to submit a PR 😄

  2. Que3216 commented on Jan 4, 2017

    @Que3216
    ContributorAuthor

    I've opened a PR: #3885

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions