Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider consolidating maxZoom on MapOptions and TileLayerOptions #227

Closed
nne998 opened this issue Feb 14, 2019 · 2 comments · Fixed by #572
Closed

Consider consolidating maxZoom on MapOptions and TileLayerOptions #227

nne998 opened this issue Feb 14, 2019 · 2 comments · Fixed by #572
Labels
feature This issue requests a new feature

Comments

@nne998
Copy link

nne998 commented Feb 14, 2019

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),
                    ],
                  )
                ],
              ),
@nne998 nne998 closed this as completed Feb 14, 2019
@nne998
Copy link
Author

nne998 commented Feb 14, 2019

i put the "maxZoom" in MapOptions is working now

@johnpryan johnpryan reopened this Feb 14, 2019
@johnpryan johnpryan changed the title TileLayerOptions : maxZoom Not working Consider consolidating maxZoom on MapOptions and TileLayerOptions Feb 14, 2019
@johnpryan
Copy link
Collaborator

Reopening - this is confusing and is worth investigating if we should remove maxZoom from TileLayerOptions

@johnpryan johnpryan added the feature This issue requests a new feature label May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue requests a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants