MapImageIcon.fromUrl constructor

MapImageIcon.fromUrl({
  1. required String url,
  2. Point? anchor,
  3. Point? labelOrigin,
  4. Point? origin,
  5. Size? size,
  6. Size? scaledSize,
})

icon from the internet load the image from the given url

Implementation

MapImageIcon.fromUrl(
    {required String url,
    Point? anchor,
    Point? labelOrigin,
    this.origin,
    this.size,
    this.scaledSize})
    : _url = url,
      super(anchor, labelOrigin);