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

add subdomain support #8

Merged
merged 2 commits into from
Mar 2, 2018
Merged

add subdomain support #8

merged 2 commits into from
Mar 2, 2018

Conversation

johnpryan
Copy link
Collaborator

@johnpryan johnpryan commented Feb 21, 2018

This is a test branch that enables CORS support. I still need to do some testing to see if this improves performance for various map providers

to use, you can put the {s} tag in your URL template and supply the subdomains:

layers: [
  new TileLayerOptions(
    urlTemplate:
        "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
    subdomains: ['a','b','c']
  ),
  new MarkerLayerOptions(markers: markers)
],

FYI @wmleler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant