Defines maxBounds, adds optional geolocation