Constructors

Methods

  • A starting point for calculating map scale. The User may prefer a different calculation depending on how their maps works.

    Parameters

    • mapPixelWidth: number

      Width of your map in pixels

    • eastLon: number

      East Longitude of your map

    • westLon: number

      West Longitude of your map

    • dpi: number = -1

      Dots Per Inch of your device. If not included, will use default renderer value.

    Returns number

    Map scale value to use in the RenderSymbol function armyc2.c5isr.web.render.WebRenderer#RenderSymbol(String, String, String, String, String, String, double, String, Map, Map, int)