W3C home > Mailing lists > Public > public-geolocation@w3.org > March 2012

Geolocation API: Update IDL

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 08 Mar 2012 09:06:17 +0100
To: public-geolocation@w3.org
Message-ID: <op.waud4rer64w2qv@annevk-macbookpro.local>
"in" keyword needs to be removed, it has been obsolete for a long time.

PositionCallback can become:

callback PositionCallback = void (Position position);

Similar for PositionErrorCallback.

PositionOptions can become:

dictionary PositionOptions {
   boolean enableHighAccuracy = false;
   double timeout = Infinity;
   long maximumAge = 0;
};

(I believe "long" cannot have the Infinity value so that would be a bug in  
the current draft.)


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Thursday, 8 March 2012 08:06:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 22 March 2012 18:13:56 GMT