You do this by zooming to an integer zoom level (an arbitrary fixed-scale experiment to see the effect of different values) and defining a point by latitude and longitude.
The Geolocation API, as proposed in the W3C draft, is a high-level interface to location information, such as latitude and longitude, associated with the device hosting the implementation.