Skip to content

Consider consolidating maxZoom on MapOptions and TileLayerOptions #227

@nne998

Description

@nne998
child: new FlutterMap(
                options: new MapOptions(
                  center: new LatLng(51.5, -0.09),
                  zoom: 5.0,
                ),
                layers: [
                  new TileLayerOptions(
                      urlTemplate:
                          "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
                      subdomains: ['a', 'b', 'c'],
                      maxZoom: 3),
                  new PolylineLayerOptions(
                    polylines: [
                      new Polyline(
                          points: points,
                          strokeWidth: 4.0,
                          color: Colors.purple),
                    ],
                  )
                ],
              ),

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature[DEPRECATED] This issue requests a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions