simplezhli / flutter_2d_amap Goto Github PK
View Code? Open in Web Editor NEWFlutter 高德2D地图插件(支持Android、iOS、Web)
License: Apache License 2.0
Flutter 高德2D地图插件(支持Android、iOS、Web)
License: Apache License 2.0
看代码是基于sdk封装了的,但是底层的addMarker方法并未对外提供
The current Dart SDK version is 2.10.4.
Because aimutou depends on flutter_2d_amap from git which requires SDK version >=2.12.0-0 <3.0.0, version solving failed.
错误内容:
Error Domain=AMapFoundationErrorPrivacyShowUnknow Code=555570 "(null)" UserInfo={info=使用AMapLocationKit SDK 功能前请设置隐私权政策是否弹窗告知用户}
[AMapLocationKit]:Error Domain=AMapFoundationErrorPrivacyShowUnknow Code=555570 "(null)" UserInfo={info=使用AMapLocationKit SDK 功能前请设置隐私权政策是否弹窗告知用户}
Error Domain=AMapFoundationErrorPrivacyShowUnknow Code=555570 "(null)" UserInfo={info=使用AMapSearchKit SDK 功能前请设置隐私权政策是否弹窗告知用户}
查了下,大概是说构造MapView之前要调一个检查合规的接口,看文档是2021-11-25改的
https://lbs.amap.com/api/ios-sdk/guide/create-project/note#t1
如题
用vscode导入项目,并获取packages时,提示Could not find a file named "pubspec.yaml" in git://github.com/simplezhli/flutter_2d_amap.git 136e0c2. pub get failed
不设置城市编码,搜索不起效果,_aMap2DController.search();方法正常执行。但是一直不回调到onPoiSearched方法内。
通过点击屏幕也无法回调到onPoiSearched方法内
android 和web都没问题 但是ios的AMap2DView初始化在屏幕之外 会出现悬浮的bug 老哥测试一下就可以复现不知如何解决
运行环境:
Mac OS 10.14.6
flutter: 1.9.1+hotfix.6
[!] The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (/Users/macos/src/dapp/ios/Pods/AMap2DMap/MAMapKit.framework, /Users/macos/src/dapp/ios/Pods/AMapLocation/AMapLocationKit.framework, and /Users/macos/src/dapp/ios/Pods/AMapSearch/AMapSearchKit.framework)
[!] 'AMap2DMap' uses the unencrypted 'http' protocol to transfer the Pod. Please be sure you're in a safe network with only trusted hosts. Otherwise, please reach out to the library author to notify them of this security issue.
[!] 'AMapSearch' uses the unencrypted 'http' protocol to transfer the Pod. Please be sure you're in a safe network with only trusted hosts. Otherwise, please reach out to the library author to notify them of this security issue.
我想在定位的页面多标注上其他建筑物的图标,您这个能实现吗?如果能,该如何实现呢?
高德地图pod 拉不下啦
输入关键词没有任何结果返回,测试输入【卧槽】只返回了一个地址,emmmm....请教下是什么地方的问题呢
RT
ios没有问题,但是安卓无法运行在模拟器上面
The build failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetifier to solve the incompatibility.
Building plugin flutter_2d_amap...
Exception: The plugin flutter_2d_amap could not be built due to the issue above.
ios模拟器定位到国外是怎么回事呀emmm
[!] 'AMap2DMap' uses the unencrypted 'http' protocol to transfer the Pod. Please be sure you're in a safe network with only trusted hosts. Otherwise, please reach out to the library author to notify them of this security issue.
如何改造支持3d Map。
Unsupported operation: Platform._operatingSystem
你好,ios的web报错(浏览器选项切换成请求桌面网站没问题),pc手机模式下没问题,安卓的web不报错
尝试了下 https://simplezhli.github.io/flutter_deer/ 也有同样的问题。
环境信息:
如图,提示没有方法。
请教下该如何修改。
[!] The 'Pods-Runner' target has frameworks with conflicting names: mamapkit.framework.
android studio:
flutter packages get
Git error. Command: git fetch
fatal: not a git repository (or any of the parent directories): .git
要设置城市编码,关键词搜索才会成功
/Users/jerry/.pub-cache/git/flutter_2d_amap-323fcf8203d89a4235f923a1b53ae1e455c9afb3/ios/Classes/FlutterAMap2D.m:13:9: 'AMapSearchKit/AMapSearchKit.h' file not found
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.