Skip to content

Add missing doc to geo-compose classes #307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ public class AnalysisOverlayCollection : Iterable<AnalysisOverlay> {
*/
internal val changed: SharedFlow<ChangedEvent> = _changed.asSharedFlow()

/**
* Returns an iterator over the elements in this collection
*
* @since 200.4.0
*/
override fun iterator(): Iterator<AnalysisOverlay> {
return analysisOverlays.iterator()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ import kotlinx.coroutines.launch
/**
* State holder for attribution bar related properties/events on the [com.arcgismaps.toolkit.geocompose.MapView].
*
* @property isAttributionBarVisible true if the attribution bar is visible in the GeoView, false otherwise
* @property onAttributionTextChanged called when the attribution text for the data that is currently
* displayed in the GeoView changes
* @property onAttributionBarLayoutChanged called when the attribution bar's position or size changes
* due to expanding, collapsing, or inset changes.
* @since 200.4.0
*/
@Stable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ public class GraphicsOverlayCollection : Iterable<GraphicsOverlay> {
*/
internal val changed: SharedFlow<ChangedEvent> = _changed.asSharedFlow()

/**
* Returns an iterator over the elements in this collection
*
* @since 200.4.0
*/
override fun iterator(): Iterator<GraphicsOverlay> {
return graphicsOverlays.iterator()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ public class ImageOverlayCollection : Iterable<ImageOverlay> {
*/
internal val changed: SharedFlow<ChangedEvent> = _changed.asSharedFlow()

/**
* Returns an iterator over the elements in this collection
*
* @since 200.4.0
*/
override fun iterator(): Iterator<ImageOverlay> {
return imageOverlays.iterator()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ import com.arcgismaps.mapping.view.GeoView
* @see rememberViewpointChangedStateForCenterAndScale
* @see rememberViewpointChangedStateForBoundingGeometry
* @see rememberViewpointChangedState
*
* @property onViewpointChangedForCenterAndScale called when the viewpoint changes, passing a viewpoint
* type of [ViewpointType.CenterAndScale]
* @property onViewpointChangedForBoundingGeometry called when the viewpoint changes, passing a viewpoint
* type of [ViewpointType.BoundingGeometry]
* @since 200.4.0
*/
@Stable
Expand Down