Logicify / jquery-locationpicker-plugin

JQuery Location Picker plugin
MIT License
389 stars 260 forks source link

I want keep locationNameInput when selected #154

Open thanhansoft opened 4 years ago

thanhansoft commented 4 years ago

Hi admin,

I want to keep the text selected of locationNameInput Please watch the video if you are unsure https://youtu.be/ru7NngoA17c

liorokach commented 3 years ago

I would like to get updates on that one:) From what i saw in the code - there is a function that updates the name after you select the address. updateLocationName - this is the function that changes the address after your selection. Inside this function there is a call to a function named addressByFormat which is going through all the possible addresses, Unfortunately it not always return the selected address(the one you picked), although the result would be very close to the one you wanted. This function causes the changed location problem.