Closed KaungHtet-Naing closed 10 months ago
sorry i got the answers it is my false i forget new keyword in
const searchControl = new GeoSearchControl({
notFoundMessage: "Sorry, that address could not be found.",
provider: new MyProvider(),
style: "button",
autoComplete: true,
autoCompleteDelay: 250,
marker: {
icon: new L.Icon.Default(),
draggable: false,
},
});
I don't know why it always shows this error in my custom provider if anyone has an idea what I'm facing pls give me a hand. 🙏 Unhandled Runtime Error TypeError: n.search is not a function