Prompt
Documentation should prioritize clear organization with a logical flow to help developers find information quickly. Apply these practices:
- Use descriptive headings and titles that directly communicate content purpose
# Ways to Configure the Map ## XML Configuration ## Programmatic Configuration ## Using MapLibreMapOptions - Focus on specialized or unique content rather than explaining widely understood concepts
// Instead of explaining JSON basics: ## Using GeoJSON in MapLibre This guide focuses on MapLibre-specific GeoJSON implementation details. - Include complete, explicit instructions that readers can follow without additional context ```markdown // Instead of: You need to have the correct Rust toolchain(s) installed.
// Write: Install the required Rust toolchain with:
rustup install 1.68.0
rustup default 1.68.0
- Ensure all substantive code examples are referenced or tested to verify they remain valid as the codebase evolves
// Reference to a working example in the codebase // See: examples/MapOptionsDemo.kt val mapOptions = MapLibreMapOptions.Builder() .camera(CameraPosition.Builder() .target(LatLng(51.50550, -0.07520)) .zoom(10.0) .build()) .build()