Skip to content

Commit 2d7aae2

Browse files
committed
update MapViewState page
1 parent beb0296 commit 2d7aae2

9 files changed

Lines changed: 261 additions & 269 deletions

File tree

507 KB
Binary file not shown.
521 KB
Binary file not shown.
382 KB
Binary file not shown.
318 KB
Binary file not shown.

docs/src/content/docs/components/mapviewstate.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Resets the initialization state to `NotStarted`.
5151
```kotlin
5252
fun moveCameraTo(
5353
cameraPosition: MapCameraPositionImpl,
54-
durationMs: Long? = 0,
54+
durationMills: Long? = 0,
5555
listener: MoveCameraCallback? = null
5656
)
5757
```
@@ -60,7 +60,7 @@ Moves the camera to a specific position with optional animation.
6060
```kotlin
6161
fun moveCameraTo(
6262
position: GeoPointImpl,
63-
durationMs: Long? = 0,
63+
durationMills: Long? = 0,
6464
listener: MoveCameraCallback? = null
6565
)
6666
```
@@ -106,7 +106,7 @@ fun CameraControlExample() {
106106
val sanFrancisco = GeoPointImpl.fromLatLong(37.7749, -122.4194)
107107
mapViewState.moveCameraTo(
108108
position = sanFrancisco,
109-
durationMs = 1000,
109+
durationMills = 1000,
110110
listener = object : MapViewState.MoveCameraCallback {
111111
override fun onComplete() {
112112
println("Camera movement completed")
@@ -198,4 +198,4 @@ MapView(
198198
2. **Monitor Initialization**: Check initialization state before adding content
199199
3. **Handle Failures**: Provide fallback UI for initialization failures
200200
4. **Provider Abstraction**: Write code that works with any provider implementation
201-
5. **Resource Management**: Allow the SDK to handle lifecycle management automatically
201+
5. **Resource Management**: Allow the SDK to handle lifecycle management automatically

docs/src/content/docs/ja/components/mapviewstate.md

Lines changed: 0 additions & 198 deletions
This file was deleted.

0 commit comments

Comments
 (0)