GithubHelp home page GithubHelp logo

gps-google-maps-socket-io's People

Contributors

gdespirito avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gps-google-maps-socket-io's Issues

JavaScript API error: RefererNotAllowedMapError

I have deployed the server on my VM, and the emulator on my dev-box. I can see they are both talking to each other now, but the map is not rendering. I checked the JavaScript console from the browser's developer tools and found this error:

Google Maps JavaScript API error: RefererNotAllowedMapError
https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error
Your site URL to be authorized: http://ec2-52-18-253-194.eu-west-1.compute.amazonaws.com:3000/

appreciate your advice!

Tracking multiple devices

Greetings,

I'm starting to get the hang of the library and created a custom adapter for my GPS device and have it sending data however is it possible to track multiple different devices at the same time?

Lets say I have my GPS device and the TK103 in the index.js under the var options = {
'debug' : false,
'port' : 8090,
'device_adapter' : "TK103",
'device_adapter' : "AB100"
}
However what ever is set as the last device_adapter is what the app is looking for.

any advice would be greatly appreciated!

Console log errors

Greetings, I've been playing around with the demo and have it up and running however I'm wondering if anyone else is seeing a couple errors I am getting in the console or know how to resolve them.

main.js:70 Uncaught TypeError: Cannot read property 'uid' of undefined
at checkIfDeviceExists (main.js:70)
at n. (main.js:82)
at n.emit (universalModuleDefinition:2)
at n.emit (universalModuleDefinition:3)
at n.emitAll (universalModuleDefinition:1)
at n.onping (universalModuleDefinition:1)
at n. (universalModuleDefinition:3)
at n.emit (universalModuleDefinition:2)
at n. (universalModuleDefinition:2)
at n.r (universalModuleDefinition:2)

and when I click on the marker on the map getting
Uncaught TypeError: Cannot read property 'length' of undefined
at Function.each (jquery.min.js:2)
at displayData (main.js:20)
at .Ne. (main.js:55)
at Object.
.x.trigger (js?key=AIzaSyBHVJcV0apLoTInbKmW80suUGKCbnXbPR4:102)
at IT.handleEvent (marker.js:40)
at .lg.xg (map.js:31)
at Vx.
.k.$d (map.js:44)
at Vx..k.Gi (map.js:44)
at Object.
.x.trigger (js?key=AIzaSyBHVJcV0apLoTInbKmW80suUGKCbnXbPR4:102)
at Qt. (common.js:121)

When I console log the data it is coming back as undefined even though I do see that it's getting data from the emulator app.

Some trouble with the demo

There are some dead links on your repos.

Can you please do a more detailed example using the google maps and perhaps also using a VPS.

Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.