Gribo Posted December 27, 2013 Report Share Posted December 27, 2013 (edited) Hello, Following my previous attempt with Google maps, Here is a websocket based link between LV and Google maps. Websocket class by S.Marlow http://evexiallc.com/index.php JSON API by drjdpowell Javascripts and demo application are based on the Webpanel demo application. Instructions: 1. Obtain a Google maps API key. 2. Edit the WP_Googlemaps.html and add the key to the relevant script tag. 3. Start the demo vi (google maps demo.vi) 4. Open the WP_Googlemaps.html with a modern browser. I have tested it with Chrome and Safari on iPhone 4. You might have to point to the correct path of some VIs, they are included in the vi directory. gmaps_websockets_LV2013.zip Edited December 27, 2013 by Gribo Quote Link to comment
Gribo Posted December 28, 2013 Author Report Share Posted December 28, 2013 Should I create a new entry into the un-certified repository? It will make it easier to update the file. Quote Link to comment
Abhishek Agrawal Posted July 26, 2015 Report Share Posted July 26, 2015 Hey! I am trying to use your web socket example. When I run the program, it doesn't show any map. I have never used web-sockets before so may be I am doing something wrong. I need to be able to show flight of a weather balloon on google maps. I am getting getting GPS coordinates from serial port. Quote Link to comment
Alex Evenson Posted February 1, 2016 Report Share Posted February 1, 2016 Hi, great program - exactly what i was looking for to get full google maps functionality in Labview.I'm trying to use this to track an autonomous vehicle using co-ordinates from its GPS sensor. I've tried reusing the case structure to have the vehicle's co-ordinates center the map, and have a polyline of its path from beginnning of movement, but I've had no success so far.Do you think the best way to do this would be a pair of while loops for 1) Updating center co-ordinates, and 2) Sending co-ordinates every 2s to create a continually updating polyline to replace the case structure? ideally i want to keep some of the case structures manual inputs. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.