Skip to content

Commit

Permalink
fix : fix #34, fix #35
Browse files Browse the repository at this point in the history
  • Loading branch information
note11g committed Feb 14, 2023
1 parent 3ed1aa5 commit 9dc7f6b
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 11 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ android {
}

dependencies {
implementation 'com.naver.maps:map-sdk:3.16.1'
implementation 'com.naver.maps:map-sdk:3.16.2'
implementation 'com.google.android.gms:play-services-location:21.0.1'
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import dev.note11.flutter_naver_map.flutter_naver_map.converter.DefaultTypeConve
import dev.note11.flutter_naver_map.flutter_naver_map.converter.DefaultTypeConverter.asList
import dev.note11.flutter_naver_map.flutter_naver_map.converter.DefaultTypeConverter.asMap
import dev.note11.flutter_naver_map.flutter_naver_map.converter.MapTypeConverter.asLatLng
import dev.note11.flutter_naver_map.flutter_naver_map.converter.MapTypeConverter.toMessageable
import dev.note11.flutter_naver_map.flutter_naver_map.model.enum.NOverlayType
import dev.note11.flutter_naver_map.flutter_naver_map.model.map.overlay.NOverlayInfo
import dev.note11.flutter_naver_map.flutter_naver_map.util.DisplayUtil
Expand Down Expand Up @@ -38,7 +39,7 @@ internal data class NArrowheadPathOverlay(

override fun toMessageable(): Map<String, Any?> = mapOf(
infoName to info.toMessageable(),
coordsName to coords,
coordsName to coords.map { it.toMessageable() },
widthName to widthDp,
colorName to color,
outlineWidthName to outlineWidthDp,
Expand Down
6 changes: 5 additions & 1 deletion example/integration_test/overlay_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,14 @@ void main() {
NMultipartPathOverlay(id: "8", paths: [
NMultipartPath(coords: positionList),
]),
// NArrowheadPathOverlay(id: "9", coords: positionList), // todo : not working on map sdk 3.16.1
NArrowheadPathOverlay(id: "9", coords: positionList), // todo : not working on map sdk 3.16.1
// - see this issue : https://github.com/note11g/flutter_naver_map/issues/34
};

// overlaySet.forEach((element) {
// element.setOnTapListener((overlay) => element.id)
// });

await controller.addOverlayAll(overlaySet);

await Future.delayed(const Duration(milliseconds: 200));
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '11.0'
platform :ios, '11.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down
14 changes: 9 additions & 5 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ PODS:
- Flutter (1.0.0)
- flutter_naver_map (1.0.0):
- Flutter
- NMapsMap
- NMapsMap (= 3.16.2)
- geolocator_apple (1.2.0):
- Flutter
- integration_test (0.0.1):
- Flutter
- NMapsMap (3.16.0)
- NMapsGeometry (1.0.1)
- NMapsMap (3.16.2):
- NMapsGeometry
- path_provider_foundation (0.0.1):
- Flutter
- FlutterMacOS
Expand All @@ -21,6 +23,7 @@ DEPENDENCIES:

SPEC REPOS:
trunk:
- NMapsGeometry
- NMapsMap

EXTERNAL SOURCES:
Expand All @@ -37,12 +40,13 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
flutter_naver_map: 8b8ad3a217af500abd18bad7483b07de0a955faf
flutter_naver_map: d1ee15e7a2fe5360a19640648ceed5abf79d82aa
geolocator_apple: cc556e6844d508c95df1e87e3ea6fa4e58c50401
integration_test: a1e7d09bd98eca2fc37aefd79d4f41ad37bdbbe5
NMapsMap: a2593320fca2bb09e521c05b4dffee4da42e96ed
NMapsGeometry: 53c573ead66466681cf123f99f698dc8071a4b83
NMapsMap: aaa64717249b06ae82c3a3addb3a01f0e33100ab
path_provider_foundation: 37748e03f12783f9de2cb2c4eadfaa25fe6d4852

PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3
PODFILE CHECKSUM: 7368163408c647b7eb699d0d788ba6718e18fb8d

COCOAPODS: 1.11.3
4 changes: 2 additions & 2 deletions ios/flutter_naver_map.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ flutter naver map plugin
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
s.dependency 'NMapsMap'
s.platform = :ios, '9.0'
s.dependency 'NMapsMap','3.16.2'
s.platform = :ios, '11.0'

# Flutter.framework does not contain a i386 slice.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
Expand Down

0 comments on commit 9dc7f6b

Please sign in to comment.