Jump to content

Gribo

Members
  • Posts

    240
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Gribo

  1. I am stuck. Trying to get the next function (Polylines) to work is quite complex. I need to pass an array of coordinates (Latitude, Longitude) to the browser, but cannot get it to understand JSON objects. Does anyone have an advise regarding this? Taking it one step at a time, I am trying to pass a single coordinate cluster. Below is the Javascript code: function addmarkerJSON (Pmap, latlng, Title){//var Platlng = eval ('('+latlng+')');var Platlng = JSON.parse (latlng,function (key, value) { var type; if (value && typeof value === 'object') { type = value.type; if (typeof type === 'string' && typeof window[type] === 'function') { return new (window[type])(value); } } return value;});var options = {position: new google.maps.LatLng(Platlng.lat,Platlng.lng),map: Pmap,title: Title};alert(Platlng.lat);PMarker = new google.maps.Marker (options);return latlng.lat;}
  2. The icons. 32x32 pixels on the block diagram?
  3. Added an API test file. It draws a circle, animates it and creates a marker.
  4. Version 0.71

    2,253 downloads

    Connects to google maps javascript V3 api using the web browser .NET object (it exposes the HTML DOM model, where as the ActiveX control does not). This is an improvement over the examples from NI, as it allows dynamic adjustments to all of the map objects. Currently, only circle and marker are implemented.
  5. Name: Labview <-> Google maps VI Submitter: Gribo Submitted: 12 Nov 2013 Category: *Uncertified* LabVIEW Version: 2011 License Type: BSD (Most common) Connects to google maps javascript V3 api using the web browser .NET object (it exposes the HTML DOM model, where as the ActiveX control does not). This is an improvement over the examples from NI, as it allows dynamic adjustments to all of the map objects. Currently, only circle and marker are implemented. Click here to download this file
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.