12-07-2020 04:58 AM
We know there were lot of example on how to embed Gmaps page into webvi.
however, is there any example on how could webvi programmatically interact with gmaps?
e.g. :
- Get the coordinate from gmaps when some one click a location on the map,
- show specific location on gmaps when user switch/select a ring control or list box
Solved! Go to Solution.
12-08-2020 05:41 AM
You might be able to figure it out by combining GitHub - ni/webvi-examples: Examples of WebVI functionality in the LabVIEW NXG Web Module and GitHub - ni/labview-gmaps.
12-09-2020 06:02 PM
Hi ThamS,
I posted a WebVI example that gives an API for programmatically handling Google Maps and OpenStreetMaps in the community example page Maps for WebVI.
It may be useful as a starting point and includes the ability to create a map and markers programmatically as well as the ability to update markers and open / close their popup text content.
12-10-2020 01:36 AM
02-18-2021 12:21 AM
02-19-2021 10:19 AM
Hi ThamS,
That sounds like a good idea! I added the ability to wait for clicks on markers to Release 4 of the Maps for WebVI library. It should give you the building blocks needed to implement waiting for clicks on markers and updating the selected item.
Milan