Closed maerki closed 2 weeks ago
[!IMPORTANT]
Review skipped
Auto reviews are disabled on base/target branches other than the default branch.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
The pull request introduces several enhancements across various classes and interfaces, primarily focusing on adding new methods for retrieving scaling factors and virtual zoom level information. Key additions include getScalingFactor()
in the MapCameraInterface
and getVirtualZoomLevelInfos()
in multiple classes, enhancing their functionality without modifying existing methods. The changes also include the introduction of new classes, such as IconLayerObject
, and significant updates to buffer management in graphics-related classes, improving performance and maintainability.
File Path | Change Summary |
---|---|
bridging/android/java/io/openmobilemaps/mapscore/shared/map/MapCameraInterface.kt |
Added abstract fun getScalingFactor(): Double and its implementation in CppProxy . |
bridging/android/java/io/openmobilemaps/mapscore/shared/map/layers/tiled/Tiled2dMapLayerConfig.kt |
Added abstract fun getVirtualZoomLevelInfos(): ArrayList<Tiled2dMapZoomLevelInfo> and its implementation in CppProxy . |
bridging/android/jni/map/NativeMapCameraInterface.cpp |
Added native_1getScalingFactor method for JNI to retrieve scaling factor. |
bridging/android/jni/map/layers/tiled/NativeTiled2dMapLayerConfig.cpp |
Added getVirtualZoomLevelInfos method for JNI to retrieve virtual zoom level information. |
bridging/android/jni/map/layers/tiled/NativeTiled2dMapLayerConfig.h |
Added method declarations for getVirtualZoomLevelInfos() . |
bridging/ios/MCMapCameraInterface+Private.mm |
Added - (double)getScalingFactor for accessing the scaling factor. |
bridging/ios/MCMapCameraInterface.h |
Added method declaration - (double)getScalingFactor; . |
bridging/ios/MCTiled2dMapLayerConfig+Private.mm |
Added - (nonnull NSArray<MCTiled2dMapZoomLevelInfo *> *)getVirtualZoomLevelInfos method. |
bridging/ios/MCTiled2dMapLayerConfig.h |
Added method declaration - (nonnull NSArray<MCTiled2dMapZoomLevelInfo *> *)getVirtualZoomLevelInfos; . |
djinni/map/core.djinni |
Added get_scaling_factor() : f64; to map_camera_interface . |
djinni/map/layers/tiled/tiled_layer.djinni |
Added get_virtual_zoom_level_infos() : list<tiled_2d_map_zoom_level_info; to tiled_2d_map_layer_config . |
ios/graphics/Model/BaseGraphicsObject.swift |
Removed originOffsetBuffer , added originOffsetBuffers and vpMatrixBuffers , updated initializers and method signatures. |
ios/graphics/Model/MultiBuffer.swift |
Introduced MultiBuffer<DataType> structure for managing multiple Metal buffers. |
shared/public/IconLayerObject.h |
Added IconLayerObject class with various methods for managing icon layers. |
shared/public/MapCameraInterface.h |
Added virtual method getScalingFactor() . |
shared/public/Tiled2dMapLayerConfig.h |
Added virtual method getVirtualZoomLevelInfos() . |
shared/src/map/layers/icon/IconLayer.cpp |
Updated methods to use IconLayerObject instead of Textured2dLayerObject . |
shared/src/map/layers/tiled/Epsg4326Tiled2dMapLayerConfig.cpp |
Added getVirtualZoomLevelInfos() method for zoom level information. |
shared/src/map/layers/tiled/WebMercatorTiled2dMapLayerConfig.cpp |
Added getVirtualZoomLevelInfos() method for virtual zoom levels. |
🐇 In the land of code where changes bloom,
New methods sprout, dispelling gloom.
Scaling factors and zooms take flight,
Enhancing layers, making things right.
With buffers anew, our graphics gleam,
A rabbit's joy in this coding dream! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
IconLayerObject
class for improved icon management and rendering.MCMapView
to manage concurrent rendering operations.Bug Fixes
Documentation