Skip to content

Latest commit

 

History

History
102 lines (88 loc) · 4.71 KB

CHANGELOG.md

File metadata and controls

102 lines (88 loc) · 4.71 KB

6.0.1+304

  • Updated Huawei Map SDK version to 6.0.1.304.
  • Added the Terrain Map Type.
  • Supported Lite Mode for maps.
  • Renamed animation.dart to hmsMarkerAnimation.dart. Class name (HmsMarkerAnimation) remains unchanged.

5.3.0+301

  • [Hotfix] Meta package change to support Flutter and Dart versions.

5.3.0+300

  • [Breaking Change] Migrated library to null safety.
  • Updated Huawei Map SDK version to 5.3.0.300.
  • Fixed the bug that prevents setting initial padding values to Huawei Map instance.
  • Fixed the bug that prevents creating a Ground Overlay by specifying bounds.
  • On invalid refWidth value, Cap.customCapFromBitmap method now returns roundcap instead of null.
  • Added PointOfInterest class.
  • New features to Polygons.
    • Added holes property to create holes on a shape.
    • Added strokeJointType property to customize the joint types.
    • Added strokePattern property to customize the stroke patterns.
  • New feature to Circles.
    • Added strokePattern property to customize the stroke patterns.
  • New features to InfoWindows.
    • Added onLongClick callback to listen for long clicks on InfoWindows.
    • Added onClose callback to listen for close events of InfoWindows.
  • New Features to Markers.
    • Added onDragStart callback to listen for start of the drag events.
    • Added onDrag callback to listen for drag positions of the event.
  • New features to HuaweiMap.
    • Added onPoiClick callback to listen for Point of Interest clicks.
    • Added allGesturesEnabled property to enable all gestures.
    • Added isScrollGesturesEnabledDuringRotateOrZoom property to enable scroll gestures during rotate or zoom.
    • Added pointToCenter property to set a fixed screen center for zooming.
    • Added gestureScaleByMapCenter property to specify whether a fixed screen center can be set for zooming.
    • Added onMyLocationClick callback to listen for my location clicks.
    • Added onMyLocationButtonClick callback to listen for my location buttons clicks.
    • Added stopAnimation API to HuaweiMapController to stop camera animation.
    • Added onCameraMoveCanceled callback to listen for canceled camera movements.
    • onCameraMoveStarted callback now returns a reason for the camera movement.
      • Added REASON_API_ANIMATION constant.
      • Added REASON_DEVELOPER_ANIMATION constant.
      • Added REASON_GESTURE constant.
    • Added clusterIconDescriptor property to customize the cluster markar.
    • Added clusterMarkerColor property to customize the color of the cluster marker.
    • Added clusterMarkerTextColor property to customize the text color of the customized cluster marker.
    • Added logoPosition property to specify the position of the Petal Maps logo.
    • Added logoPadding property to adjust the position of the Petal Maps logo.
    • Added position constants for logoPosition property.
      • Added LOWER_LEFT constant.
      • Added LOWER_RIGHT constant.
      • Added UPPER_LEFT constant.
      • Added UPPER_RIGHT constant.
    • Added styleId property to set a custom style for a Huawei Map instance.
    • Added previewId property to set a custom style for a Huawei Map instance.
    • Added setLocationSource API to HuaweiMapController to enable location source feature.
    • Added setLocation API to HuaweiMapController to specify custom location to location source.
    • Added deactivateLocationSource API to HuaweiMapController to deactivate the location source feature.

5.0.3+303

  • Updated HMSLogger.
  • Fixed the bug that causes the Huawei Map to crash when running on earlier HMS Core versions.
  • Fixed the bug that causes the app to crash when pressing the "Legal" button on the Huawei Map instances.
  • Added missing permission for the demo application that prevents the app from running.

5.0.3+302

  • Added Tile Overlays and tile types.
    • Added Tile.
    • Added UrlTile.
    • Added RepetitiveTile.
  • Added Ground Overlays.
  • Added marker animations to Markers.
    • Added startAnimationOnMarker method to HuaweiMapController.
    • Added animationSet field to Marker object.
    • Added Alpha Animation.
    • Added Rotate Animation.
    • Added Scale Animation.
    • Added Translate Animation.
  • Added marker clustering feature to Markers.
    • Added markersClusteringEnabled field to HuaweiMap.
    • Added isMarkerClusterable method to HuaweiMapController.
    • Added clusterable field to Marker object.
  • Added HuaweiMapUtils class.
    • Added HMS Logger for usage analytics of Huawei Map SDK.
      • Added the enableLogger method.
      • Added the disableLogger method.
    • Added distanceCalculator method.
  • Bug fixes and improvements.
  • Updated demo application.

4.0.4+300

  • Removed pubspec.lock file in example.

4.0.4

  • Initial release.