Please let LTileLayer support esri-leaflet in tileLayerClass and release new version npm package
See original GitHub issueHi, guys. In my work, I use the esri series map as base layer, but url does not support incoming Object, it only allow String, can you change it or add a new props for this features? (the components is LTileLayer) i am change it like this
url: {
type: [String, Object],
default: null
},
If possible, please release a new npm version. The latest version is 2.5.2 released seven months ago. This version of crs cannot be switched
in 2.5.2 npm package.json
setCrs(newVal, oldVal) { console.log('Changing CRS is not yet supported by Leaflet'); },
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
esri-leaflet - npm
Leaflet plugins for consuming ArcGIS Online and ArcGIS Server services.. Latest version: 3.0.9, last published: 20 days ago.
Read more >release-please - npm
Release Please automates CHANGELOG generation, the creation of GitHub releases, and version bumps for your projects. It does so by parsing your ...
Read more >release-it - npm
Generic CLI tool to automate versioning and package publishing related tasks.. Latest version: 15.6.0, last published: 2 days ago.
Read more >release-please-example - npm
This will email you a release note and publish a new release. Not able to run GitHub action to publish npm package. Add...
Read more >Updating your published package version number - npm Docs
Note: If you have linked a git repository to a package, updating the package version number will also add a tag with the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you. This method sounds good. I’ll try it later. Thank you for your answer.
This we can definitely help with, v2.6.0 has now been released!
I am sorry, but I don’t think that we have any plans to modify the public API of this library to accommodate custom code. You should be able to create a custom layer type, or perhaps simply a wrapper around the factory that will let you continue to use
LTileLayer
.Does something like this help, for example?
That way the function passed to
:tile-layer-class
accepts the two expected parameters, but ignores the first one and calls Esri’sbasemapLayer
with only the options object.