• JMap.Project.getProjection

    Returns loaded JMap project projection.

    In the map, the projection is always "EPSG:3857", but that function returns the project defined projection (so it can be different than ESPG:3857).

    Returns JProjection

    Throws

    If no project is loaded

    Example

    // returns the project projection
    JMap.Project.getProjection()