Closed Safiullah2000 closed 9 months ago
@Safiullah2000 Can you add a reproduction step?
Step 1: Register the Application in the Naver map console
Step 2: Adding dependency by following line:
flutter pub add flutter_naver_map
Step 3: Add the following lines in AndroidManifest.xml
<meta-data // Not showing in a comment that's why type this
android:name="com.naver.maps.map.CLIENT_ID"
android:value="YOUR-CLIENT-ID"/>
<meta-data // Not showing in a comment that's why type this
android:name="com.naver.maps.map.CLIENT_SECRET"
android:value="YOUR-CLIENT-SECRET-ID"/>/"
Step 4: Add this line in main.dart:
WidgetsFlutterBinding.ensureInitialized();
await NaverMapSdk.instance.initialize(
clientId: ''YOUR-CLIENT-ID",
onAuthFailed: (error) {
print('Auth failed: $error');
});
Step 5: This is my Naver Map screen code
My flutter version is 3.13.9
Tell me if i made a mistake i will be very thankful to you
@Safiullah2000 Please check this sample. clone and run please. https://github.com/note11g/flutter_naver_map_pure_example/tree/sample/%23180
Issue is resolved thanks @note11g there is an error from my side
@Safiullah2000 I'm so glad it's been resolved! Please use it well, and have a nice day :) Thank you!
I have implement naver map with flutter naver map plugin 1.1.2. The problem is i have changed map type and also add initial camera position to busan but map still starts on seoul city which is default why it's not working