Safe Haskell | None |
---|---|
Language | Haskell2010 |
- getCurrentPosition :: (MonadDOM m, IsPositionOptions options) => Geolocation -> Maybe PositionCallback -> Maybe PositionErrorCallback -> Maybe options -> m ()
- watchPosition :: (MonadDOM m, IsPositionOptions options) => Geolocation -> Maybe PositionCallback -> Maybe PositionErrorCallback -> Maybe options -> m Int
- watchPosition_ :: (MonadDOM m, IsPositionOptions options) => Geolocation -> Maybe PositionCallback -> Maybe PositionErrorCallback -> Maybe options -> m ()
- clearWatch :: MonadDOM m => Geolocation -> Int -> m ()
- newtype Geolocation = Geolocation {}
- gTypeGeolocation :: JSM GType
Documentation
getCurrentPosition :: (MonadDOM m, IsPositionOptions options) => Geolocation -> Maybe PositionCallback -> Maybe PositionErrorCallback -> Maybe options -> m () Source #
watchPosition :: (MonadDOM m, IsPositionOptions options) => Geolocation -> Maybe PositionCallback -> Maybe PositionErrorCallback -> Maybe options -> m Int Source #
watchPosition_ :: (MonadDOM m, IsPositionOptions options) => Geolocation -> Maybe PositionCallback -> Maybe PositionErrorCallback -> Maybe options -> m () Source #
clearWatch :: MonadDOM m => Geolocation -> Int -> m () Source #
newtype Geolocation Source #
Functions for this inteface are in JSDOM.Geolocation.