Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SearchBox Issue #20

Closed
deshario opened this issue Jun 22, 2018 · 1 comment
Closed

SearchBox Issue #20

deshario opened this issue Jun 22, 2018 · 1 comment

Comments

@deshario
Copy link

deshario commented Jun 22, 2018

How to update marker after select a place from searchbox ... It's not updating the marker in the map until i not remove inputBinding

'inputBinding' => [
'latitudeInput' => new JsExpression("$('#us2-lat')"),
'longitudeInput' => new JsExpression("$('#us2-lon')"),
'radiusInput' => new JsExpression("$('#us2-radius')"),
'locationNameInput' => new JsExpression("$('#us2-address')")
],

But if i remove inputBinding .... it works ... Do we need to remove inputBinding to make searchbox works

screenshot 276

@pigochu
Copy link
Owner

pigochu commented Jun 22, 2018

If you don't need inputBinding , you can remove it.

if you need inputBinding , you should remove locationNameInput. because locationNameInput default map to searchbox.

@deshario deshario closed this as completed Jul 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants