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 more tiles #3

Open
ghtmtt opened this issue May 27, 2019 · 7 comments
Open

Add more tiles #3

ghtmtt opened this issue May 27, 2019 · 7 comments
Labels
enhancement New feature or request

Comments

@ghtmtt
Copy link
Contributor

ghtmtt commented May 27, 2019

Some tiles here

@ghtmtt ghtmtt added the enhancement New feature or request label May 27, 2019
@ghtmtt ghtmtt mentioned this issue May 27, 2019
@Raruto
Copy link
Collaborator

Raruto commented May 27, 2019

Some quite useful supporting tiles:

@ghtmtt
Copy link
Contributor Author

ghtmtt commented May 29, 2019

with release 1.1 the user can add his own tile url

@Raruto
Copy link
Collaborator

Raruto commented May 30, 2019

Ok, what about allow exporting multiple layers at a time?


Example of html template:

var baseLayers = {{ py_layers }}; // Your QGIS layers here...		

// Load all the user selected layers.
for (var layer in baseLayers) {
    baseLayers[layer] = new L.TileLayer(opts[layer].url, opts[layer].options);
}

var controlLayer = L.control.layers(baseLayers, null, opts.layersControl.options);

controlLayer.addTo(map);

@ghtmtt
Copy link
Contributor Author

ghtmtt commented May 31, 2019

it is feasible of course, but I'm a little bit afraid of the complexity. At the moment the user has to make one single click to display the profile, while having a list of all the tiles in the map to choose, could lead to more confusion? How would you suggest to manage the UI to add/remove the chosen tiles?

ghtmtt added a commit that referenced this issue May 31, 2019
@Raruto
Copy link
Collaborator

Raruto commented May 31, 2019

Here are some examples:

How would you suggest to manage the UI to add/remove the chosen tiles?

I think it would be clearer if we can use, in addition to some common default levels, only the XYZ Levels that we have currently added to the project view (as it happens for the vector layer).

@ghtmtt
Copy link
Contributor Author

ghtmtt commented Jun 1, 2019

I think it would be clearer if we can use, in addition to some common default levels, only the XYZ Levels that we have currently added to the project view (as it happens for the vector layer).

you mean that the user loads all Tiles directly within QGIS and the combobox lists the loaded tiles?

@Raruto
Copy link
Collaborator

Raruto commented Jun 3, 2019

f3a976c#r33747940

you mean that the user loads all Tiles directly within QGIS and the combobox lists the loaded tiles?

Yes, it should list all that is loaded within the QGIS "Layer" panel (in addition to the default tiles: OSM, OTM, ESRI, ...)

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

No branches or pull requests

2 participants