display all vehicles in one map screen using api

prabhu8 years ago

hi
I am creating new interface web client with angular js.
trying to display all devices in one map screen
dont know how to make use of the api or any other method is welcome.

thanks

Anton Tananaev8 years ago
Ninad8 years ago

Hi Anton I just replace var url to my server address but it doesn't show me user and also not load the map so can you please help me how to integrate or make a use of app.js

Anton Tananaev8 years ago

You also need to provide a talking. If something still doesn't work, you should browser developer console for more information.

mehossain6 years ago

Hello sir,
I have created a page just like the <simple> folder(with api and token) . my user devices longitude, latitude etc are listed in console but not showing in the google map. Is there anything else i should do ? thanks in advance

José Fernandez5 years ago

Hello, I wonder what is the exact url i should put on my browser to display the simple web app. I have managed to run it on the same computer running off a seperate web server. I am able to see the map and devices i have. in summary this simple applicaiton works fine. however I am not able to run it on a seperate computer in a simple way since you have to create a session and obtain the token and have to rerun the code hardcoding the token into the code because i didn't know how to get permissions in javascript to retrieve cookie information. So in conclusion I wonder if there is such an URL that once typed on browser i am able to run that map application? for example http://localhost:8082 pops the manager software. however if i try http://localhost:8082/web/simple/index.html it doesn't work. if i try http://localhost/web/simple/index.html it won't work either.

Anton Tananaev5 years ago
José Fernandez5 years ago

Anton one more time, I want to thank you. followed the direction in your above question and it did work. I just didn't try your solution before I asked the question as I was following the whole path as I saw it in the directory. the files are at /web/simple/.

Anton Tananaev5 years ago

The full web application is in the "web" folder, but you access it with "web", right?

José Fernandez5 years ago

"http://localhost:8082/simple/index.html" worked for me.
this "http://localhost:8082/web/simple/index.html" DIDN'T work, "http://localhost/web/simple/index.html" (the default port is 80 of course) didn't work either.