• JMap.Map.setScaleControlPosition

    Changes the scale control position on the map.

    Parameters

    • position: JMAP_POSITIONS

      the position on the map where to display the scale control.

    Returns void

    Example

    // Moves the scale control on the top-left corner of the map
    JMap.Map.setScaleControlPosition("top-left")