Wednesday, January 25, 2017

Geolocation problems

See http://www.gwtproject.org/javadoc/latest/com/google/gwt/geolocation/client/Position.Coordinates.html

Several methods return Double e.g.

public Double getSpeed()

The JavaScript object overlay that implements this method is...

    @Override
   
public final native Double getSpeed() /*-{
      return this.speed || null;
    }-*/
;


However this.speed is a primitive double or null according to ...

https://developer.mozilla.org/en-US/docs/Web/API/Coordinates

So surely this is incorrect?

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment