Comments (12)
Hi,
we currently have no plan to add TypeScript definitions to the package. I've read a thread regarding TypeScript with Leaflet.markercluster Leaflet/Leaflet.markercluster#725
I don't understand the exact procedere, but if you want to add the definitions to the package you can make a pull request.
from leaflet.nontiledlayer.
@oliverheilig We're using this library in various places in @Amsterdam were we use TypeScript extensively. I'd be up for contributing not just type definitions but to re-write parts of the code in TypeScript itself and provide support on that code. This would replace the existing compilation with the TypeScript compiler and besides adding types also add support for ES2015 modules.
I'd love to know your stance on this as well, let me know if you'd be interested in this.
from leaflet.nontiledlayer.
Hello,
i am currently not very active in this project anymore (and in web-development in general).
The question is how to continue the project without any breaking changes, especially for npm/unpgk.
So the options would be that i grant you full access, or you just make a fork with a different name.
Oli
from leaflet.nontiledlayer.
The conversion should not introduce any breaking changes, if you would like to add me as a maintainer that would be great. If the maintenance of this library is too much I can also inquire to move it to the Amsterdam organisation for maintenance.
For now I think adding me as a maintainer would be a good start 👍 I'll make sure to open up some PRs so that the changes can be tracked.
from leaflet.nontiledlayer.
OK, i granted you access as a contributor. But i also had some thoughts.
Converting the source base iteself to TypeScript would be a major change. It would also go against the initial "Leaflet philosophy" as a minimalistic vanilla-JS component.
The source didn't really change over the years because the component does the job and is somehow "complete". I am not sure if this major change would be in the best interest of all developers.
Maybe we can get more input from other people.
from leaflet.nontiledlayer.
@oliverheilig I've started by opening some pull requests for quality of life improvements and added you as a reviewer. Let me know if this is how you would like to approach this, or if you are perhaps fine with letting me merge these as I see fit (in which case I will let some of my colleagues at Amsterdam peer review it).
In regards to introducing the TypeScript compiler, I have every intention to try and ship this as a non-breaking change for consumers of this package. This would be done by providing the source code as TypeScript and compiling it to JS, which is what will end up in the resulting package.
If there is no longer interest for maintaining this library from your person (or organization) I could inquire if we at Amsterdam would be willing to take on the burden of maintenance and development. Which would involve moving this repository to the @Amsterdam organization and transferring NPM publish rights to our account.
Let me know your thoughts!
from leaflet.nontiledlayer.
Any update on this. Is there a typings file I can use. I saw a reference to one at the beginning of the issue but the link is broken now.
from leaflet.nontiledlayer.
See #45, I am adding support for Typescript there. It does not yet include the type definitions as I want to convert the source as well in a future PR.
from leaflet.nontiledlayer.
Any updates on this. I would really like to use this in my angular project.
from leaflet.nontiledlayer.
Any updates on this. I would really like to use this in my angular project.
Haven't had free time recently to be working on this unfortunately. We can compile the source as TypeScript now, so feel free to open up some PRs to improve the type-safety.
from leaflet.nontiledlayer.
Any chance we can get a release with the current Typescript? I see there was something done #45 but release is from March 20th.
from leaflet.nontiledlayer.
@sanderpukk The current version on main
contains breaking changes and there are not yet any type definitions that are being emitted. Doing a release at this point is not going to resolve this issue.
If you'd like to see this issue resolved faster feel free to open up some PRs to improve the type-safety of the code.
from leaflet.nontiledlayer.
Related Issues (20)
- Pane option HOT 3
- Issue when using EPSG4326 Projection HOT 11
- Version control (npm) HOT 6
- Default pane invalid HOT 2
- Error Handling
- Licence information HOT 2
- NoWrap option not available HOT 2
- bringToBack and bringToFront not working HOT 3
- Blinking in Mozilla Firefox 50.1.0 HOT 6
- Vaadin Plugin HOT 3
- WMS goes to upper left corner when zooming in HOT 7
- Replace L.Mixin.Events with L.Evented HOT 3
- Support the 'loading' event HOT 1
- WMS getImageUrl Question HOT 2
- Different width and height of map and NonTileyLayer HOT 1
- WMS Option detectRetina HOT 4
- GetFeatureInfo HOT 3
- Event handler for end of process HOT 3
- Add your plugin to Leaflet plugins site
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leaflet.nontiledlayer.