-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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 UrlTemplateImageryProvider #2709
Add UrlTemplateImageryProvider #2709
Conversation
Thanks @kaktus40. This is very useful. I think it's a bit odd to give |
So basically, your example above would instead look like:
(In my example I've also renamed |
Hello, On 18/05/2015 05:02, Kevin Ring wrote:
|
Sorry, I've been putting off a thorough review of your |
+1 for the new design. Users will definitionally want this. Thanks for the contribution, @kaktus40. |
Hello I follow your prescriptions and create a new ImageryProvider based on url template. |
Thanks @kaktus40, this looks great! I'm going to pull it into a separate branch and tweak a few things before merging it. Do we already have a CLA for you? Can you add yourself to |
Hello, I have send a CLA in december 2014 or january 2015 and I made a pull with adding myself in the CONTRIBUTORS.md |
Great, thanks! |
Moving this discussion to #2795. |
Hello,
in response to this question, I made some modifications on TileMapServiceImageryProvider. Now this provider accepts schema in his options that will be used to request a server.
For example if the file server structure to request is "revX/Y/Z" and the extension is gif where:
then the code to access to the tiles of the server is
then tms.requestImage(3, 1, 2) should request the url "URL/of/TMS/0/1/2.gif" instead of "URL/of/TMS/2/3/2.gif"