Comments (6)
I leave the issue open if anyone TP dev wants to contribute with a PR
from leaflet-search.
leaflet was not written in typescript
from leaflet-search.
@stefanocudini Sorry, but not a serious answer.
Leaflet has official typings or type definitions to use it in Typescript-ed project.
from leaflet-search.
@stefanocudini Sorry, but not a serious answer. Leaflet has official typings or type definitions to use it in Typescript-ed project.
may be it's official for github.com/DefinitelyTyped not for Leaflet organization..
from leaflet-search.
@stefanocudini Thanks for your time but our discussion is out of scope of original question. I think you agree with me.
Let's start from the beginning
- Do you have plans to add Typescripts type definitions for your plugin?
- Here is unofficial attempt to create type definitions, but that was a long time ago and I could success with it.
I'm not an experienced Typescript developer to do such job so I decided to ask for help there.
from leaflet-search.
- Do you have plans to add Typescripts type definitions for your plugin?
no
- Here is unofficial attempt to create type definitions, but that was a long time ago and I could success with it.
it sounds interesting but I don't know Typescripts and I have no idea how this works, however the types for the options all seem right:
https://github.com/bastisk/leaflet-search-types/blob/master/index.d.ts#L5
from leaflet-search.
Related Issues (20)
- Unable to Remove an Existing Search Control HOT 1
- How do I use my own local nominatim server? HOT 2
- Package seems to be interfering with other leaflet packages HOT 1
- use react js. HOT 1
- I want to custom search box,How to deal with it? HOT 1
- Refactoring - Reformatting HOT 1
- Leaflet search + multiple geojson layers HOT 1
- How to disable further client-side filtering of ajax results? HOT 1
- error on marker false and hideMarkerOnCollapse true
- multiple equal search results HOT 1
- Dynamic alert on Location not found when result is not available.
- HTML in search result HOT 1
- Use Case WordPress HOT 1
- Bad url call composition HOT 1
- html characters in search results
- Wrong `location` in JS files in Demo page HOT 1
- JSONP broken HOT 2
- Error in css HOT 1
- Geocoding examples broken HOT 4
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-search.