Skip to content

Release v1.4.0

Choose a tag to compare

@note11g note11g released this 15 Jul 12:40
· 0 commits to fb87eb940f2bf2150102513c0ac8d8ac822f6844 since this release

📝 PR Description

📋 Changelog

Breaking Change

  • [All Platform, Not Working Impact] Migrated built-in location tracking to be widget-based. (PR #322)
    • The locationButtonEnable option in NaverMapViewOptions has been removed and replaced with the NMyLocationButtonWidget.
    • Location tracking APIs are now provided through the NMyLocationTracker.
    • NaverMapController.setLocationTrackingMode(NLocationTrackingMode)'s return type change from Future<void> to void
    • Future<NLocationTrackingMode> NaverMapController.getLocationTrackingMode() api exposing change to NLocationTrackingMode NaverMapController.locationTrackingMode getter
    • change color.alpha on NLocationOverlay.defaultCircleColor 24% to 8%
  • [All Platform, Not Working Impact] Migrated ScaleBar to be a widget. (Fix #297, PR #319)
    • The scaleBarEnable option in NaverMapViewOptions has been removed and replaced with the NMapScaleBarWidget.
  • [All Platform] The showControls argument in NaverMapController.takeSnapshot has been removed as it is no longer supported by the native SDK since version 1.4.0.

Add (New Features)

  • [All Platform] Support custom style with NaverMapViewOptions.customStyle (PR #308)
  • [All Platform] add new api iconAlpha, subIconAlpha, setIconAlpha, setSubIconAlpha on NLocationOverlay
  • [All Platform] Added a new built-in location tracking API, NDefaultMyLocationTracker.
    • This provides the NMyLocationTracker interface, allowing users to implement custom location tracking logic.
  • [All Platform] Added NaverMap.onMapLoaded and NaverMap.onMapLongTapped callbacks. (PR #315)
  • [All Platform] Added NPolygonOverlay.outlinePattern feature from Naver Map SDK 3.21.0. (PR #317)
  • [iOS] Added support for Swift Package Manager (SPM). (Resolve #281, PR #320)

Update

  • [All Platform] Update Naver Map SDK to 3.22.0 (PR #329)
  • [All Platform] Improved NOverlayImage.fromWidget to automatically detect the widget's size with null value. (Resolve #304)
  • [All Platform] Improved NLocationTrackingMode.noFollow to track the current location's bearing. (PR #323)

Fix

  • [All Platform] NaverMapViewOptions.extend was not applied to the map dynamically.
  • [All Platform] Fix NLocale.countryCode support is missing (Fix #325, PR #328)
  • [iOS] Fixed an issue where contentsPadding was not applied to the scale bar. (Fix #297, PR #319)
  • [iOS] Updated the InfoWindow UI to match the Android version. (Fix #229)
  • [All Platform] Fixed a LateInitializationError that occurred when NChannelWrapper was disposed before initialization. (Fix #312)
  • [Dev] fix melos detect flutter_naver_map as a mono-repo package (Resolve #310)

📦 Installation

Add this to your pubspec.yaml:

dependencies:
  flutter_naver_map: ^1.4.0

🔗 Links


This release was automatically created from PR #337