inPixelsBounds method

bool inPixelsBounds(
  1. MapCamera cam,
  2. Offset offset, {
  3. MarkerLayerOptions? options,
  4. bool? active,
})

Implementation

bool inPixelsBounds(MapCamera cam, Offset offset,
    {MarkerLayerOptions? options, bool? active}) {
  final bounds = pixelBounds(cam, options: options, active: active);
  return bounds.contains(offset);
}