LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any GMAPS API for Webvi?

Solved!
Go to solution

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

 

WebVI GMaps.gif

 

0 Kudos
Message 1 of 6
(2,268 Views)
Solution
Accepted by ThamS

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.


Milan
Message 3 of 6
(2,200 Views)

 

I found your release 2 example, yesterday. 

Thank you for replying me with the most recent release.

 

 

0 Kudos
Message 4 of 6
(2,189 Views)

I wonder If we could get event from the Map :

i.e. when we click on the marking point - now, the callout tag was shown near to the marker - could we also give output to LabVIEW webvi to highlight the location with in List box?
is it possible? 

0 Kudos
Message 5 of 6
(2,071 Views)

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


Milan
Message 6 of 6
(2,043 Views)