Showing posts with label SignalR. Show all posts
Showing posts with label SignalR. Show all posts

Friday, 14 September 2018

Moving Marker In Map Using SignalR in ng-map In AngularJS



            In this article, I would like to know you about using of SignalR in ng-map In AngularJS.
So , To view map in the application, we have to add the angular script of  ng-map and also to use SignalR, we have to add angular-signalr-hub from nuget package manager.
This angular-signalr-hub establish the connection from client to server and having some predefined properties like setting the rootpath and can write user defined listeners and methods that can establish the connection and stop the connection.
And also jquery.signalR-2.2.0.min.js is also added along with that, so that it can work with web sockets and connects the client with server and if any connection dropout happens, or any connection problems,  it throws error message every second.