• JMap.Server.getVersion

    Returns the server version.

    Returns JServerVersion

    Throws

    if the server is not ready (info from server has not been fetched). Call JMap.Server.isReady() to know this information.

    Example

    // display the server version
    console.log("Server version:", JMap.Server.getVersion())