setLatLong method

void setLatLong(
  1. ILatLong latLong,
  2. PixelProjection projection
)

Implementation

void setLatLong(ILatLong latLong, PixelProjection projection) {
  super.latLong = latLong;
  NodeProperties nodeProperties = NodeProperties(PointOfInterest.simple(latLong), projection);
  RenderInfoNode<RenderinstructionCircle> renderInfoNew = RenderInfoNode(nodeProperties, renderInfo!.renderInstruction);
  renderInfoNew.shapePainter = renderInfo?.shapePainter;
  renderInfo = renderInfoNew;
}