Skip to content

Leaflet requires to set a center location #7

Description

@jwillmer

The viewer app does not show any map if the center location is not set. My workaround:

var centerLocation = [57.9063542, 17.5656617]; // Baltic sea
var map = L.map('map');
map.setView(centerLocation, 4);

Maybe you can calculate a center location based on the actual points in tile38?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions