Interface IGeoMap

All Superinterfaces:
IComponent<IGeoMap>, IHasId<IGeoMap>

public interface IGeoMap extends IComponent<IGeoMap>
  • Method Details

    • addPin

      IGeoMap addPin(float latitude, float longitude, Icon icon, String name)
      Parameters:
      latitude - latitude
      longitude - longitude
      icon - icon of pin
      name - name to display when pin is clicked
      Returns:
      reference to map object
    • addLine

      IGeoMap addLine(float fromLatitude, float fromLongitude, float toLatitude, float toLongitude, Color color)
      Parameters:
      fromLatitude - latitude of starting point
      fromLongitude - longitude of starting point
      toLatitude - latitude of end point
      toLongitude - longitude of end point
      color - color of line in hex (e.g. "2355DD") predefined values in MapElementColor.java
      Returns:
      reference to map object
    • lineStyle

      IGeoMap lineStyle(MapLineStyle lineStyle)
    • setHeight

      IGeoMap setHeight(int height)
      Set the height of the map
      Parameters:
      height - in pixels
      Returns:
      reference to map object