Update marker using input with ng-model
Hi!
I'm triying to modify an input and give this error:
"There are problems with lat-lng data, please verify your marker model".
There is a jsfiddle to explain the problem http://jsfiddle.net/4PhzC/119/
Hi @jopereyral, you're right, that's because the input field converts the lat float value into an string, so the directive receives the new values as string and thows an error.
Maybe you can use '<input type="number" ...' or a custom directive to assure that the value you're liking to the marker get the correct type.
Thanks, that was useful. :+1:
I'm going to rework&redesign angular-leaflet-directive to be compatible with Leaflet v1.0. It will mantain almost all its functionality, and will be compatible with the current features of the directive, but I must start from a fresh point, so I'm going to close this issue. If you think it must be worked with the new version, please reopen it.
Thanks, no problem.