- From: Mandyam, Giridhar <mandyam@quicinc.com>
- Date: Tue, 7 Jul 2015 20:49:57 +0000
- To: timeless <timeless@gmail.com>, "public-geolocation@w3.org" <public-geolocation@w3.org>
This seems to have been addressed in the latest draft dated June 22, 2015. Please see https://w3c.github.io/geofencing-api/#circulargeofenceregion-interface. -Giri >> When the object is created, this attribute MUST be set to a GeolocationPoint instance with its latitude and longitude properties set to the same values as those properties in the CircularGeofenceRegionInit dictionary. This represents the center of the circular region. Latitude must be between -90 and 90 inclusive. Longitude must be between -180 and 180 inclusive. >What happens when I set latitude to 200 or longitude to -200? >> If either of these properties is outside these ranges, the constructor will throw a RangeError. >Ah, you threw a rangeerror after you constructed the object. You put the cart before the horse. Please don't do that. Bounds check first. >Also, `will` is not RFC speak
Received on Tuesday, 7 July 2015 20:50:27 UTC