当前位置: 首页 > news >正文

手机版网站做一下多少钱北京百度网讯科技有限公司

手机版网站做一下多少钱,北京百度网讯科技有限公司,服务器更改wordpress,wordpress添加用户注册登录1.问题描述 在App中供用户在地图上选择地址,目前在使用Map Kit结合geolocationManager逆地理编码时获取的地址信息描述不准确,希望能提供相应的Demo参考。 解决方案 Demo代码示例: getLocation() { let requestInfo: geoLocationManager.…

1.问题描述

在App中供用户在地图上选择地址,目前在使用Map Kit结合geolocationManager逆地理编码时获取的地址信息描述不准确,希望能提供相应的Demo参考。

解决方案

Demo代码示例:

getLocation() {
let requestInfo: geoLocationManager.LocationRequest = {
'priority': geoLocationManager.LocationRequestPriority.FIRST_FIX,
'scenario': geoLocationManager.LocationRequestScenario.UNSET,
};
try {
// 获取当前位置
geoLocationManager.getCurrentLocation(requestInfo).then((data) => {
this.lat = data.latitude;
this.lon = data.longitude;
let info: geoLocationManager.ReverseGeoCodeRequest = {
// 获取当前位置的纬度
latitude: data.latitude,
// 获取当前位置的经度
longitude: data.longitude,
// 获取次数大于10次以便获得cityCode
maxItems: 10
}
// 使用逆地理编码
geoLocationManager.getAddressesFromLocation(info).then((code) => {
this.message= JSON.stringify(code);
console.log("here is resgeo code :" + JSON.stringify(code))
})
});
} catch (exception) {
console.log("zzzzz " + exception)
}
}

从以上的示例代码分析,调用的是Map kit的getCameraPosition接口,而geolocationManager是Location Kit的逆地理编码接口。华为地图使用的坐标类型在国内站点,中国大陆、中国香港和中国澳门使用GCJ02坐标系,location定位功能默认使用WGS84类型,坐标系不一样,所以会有偏差,建议保持统一,直接调用地图的逆地理接口site.reverseGeocode。

2.问题描述

升级后系统版本:2.0.0.59(SP3DEVC00E59R6P1log),操作系统: HarmonyOS NEXT Developer Preview 1,发现地图不显示了。在AppGallery Connect中开通了地图服务并将Client ID配置到module.json5文件中,为什么还是无法显示地图?

解决方案

请从以下几点排查原因:

  1. 开通相关服务存在一定的延迟,一般有10分钟左右。

  2. module.json5文件中metadata节点下clientid是否正确:请在里面直接写入client_id,不能通过$符引用资源文件中的值,当前无法解析这种引用方式。

  3. 签名证书配置方式 “选择SHA256公钥指纹‘’,请参考:https://developer.huawei.com/consumer/cn/doc/app/agc-help-signature-info-0000001628566748#section5181019153511。

3.问题描述

使用Developer Preview1 Map Kit的地图呈现和位置搜索功能,出现以下问题:

  1. 地图呈现:没有出现地图内容。

  2. 位置搜索功能:返回 err ={“code”:1002600004,“name”:“The Map permission is not enabled.”,“message”:“The Map permission is not enabled.”}

  3. HarmonyOS Next Developer Preview(2.0.0.33)安装 Preview1 SDK的应用报错,需要升级手机系统?

  4. 模拟器能不能使用地图?

  5. IDE中自动生成的debug签名能不能使用地图相关功能?

解决方案

1/2/5. 使用Map Kit功能既需打开配置服务开关,还需配置应用签名证书指纹,具体配置方法请参考:https://developer.huawei.com/consumer/cn/doc/app/agc-help-signature-info-0000001628566748#section5181019153511。

  1. Map Kit能力从Preview1开始支持,设备(2.0.0.33)版本是旧版本,不配套,请升级。

  2. 模拟器暂时是不支持地图的。


文章转载自:
http://cafe.bnpn.cn
http://propsman.bnpn.cn
http://chicanismo.bnpn.cn
http://cheeselike.bnpn.cn
http://ferly.bnpn.cn
http://microhm.bnpn.cn
http://travail.bnpn.cn
http://rheebok.bnpn.cn
http://institutionalise.bnpn.cn
http://holloware.bnpn.cn
http://aphasic.bnpn.cn
http://shortish.bnpn.cn
http://orion.bnpn.cn
http://overdear.bnpn.cn
http://binocular.bnpn.cn
http://chemoimmunotherapy.bnpn.cn
http://betacism.bnpn.cn
http://homily.bnpn.cn
http://ocam.bnpn.cn
http://misorder.bnpn.cn
http://sandbluestem.bnpn.cn
http://semimoist.bnpn.cn
http://nougat.bnpn.cn
http://linebacking.bnpn.cn
http://cuneiform.bnpn.cn
http://liberalism.bnpn.cn
http://untame.bnpn.cn
http://precocity.bnpn.cn
http://cliffside.bnpn.cn
http://polygamist.bnpn.cn
http://barkhausen.bnpn.cn
http://stadtholder.bnpn.cn
http://shamash.bnpn.cn
http://housecleaning.bnpn.cn
http://oust.bnpn.cn
http://roughness.bnpn.cn
http://fanatical.bnpn.cn
http://zend.bnpn.cn
http://poteen.bnpn.cn
http://tectogenesis.bnpn.cn
http://inertness.bnpn.cn
http://interbreed.bnpn.cn
http://richness.bnpn.cn
http://hydrogen.bnpn.cn
http://lingayat.bnpn.cn
http://swipe.bnpn.cn
http://natatorial.bnpn.cn
http://hustings.bnpn.cn
http://aplomb.bnpn.cn
http://shrub.bnpn.cn
http://tilth.bnpn.cn
http://hyperglycemia.bnpn.cn
http://paragoge.bnpn.cn
http://regalement.bnpn.cn
http://mummy.bnpn.cn
http://vasodilatation.bnpn.cn
http://forbiddance.bnpn.cn
http://repulse.bnpn.cn
http://alsace.bnpn.cn
http://evanescent.bnpn.cn
http://rubydazzler.bnpn.cn
http://continuity.bnpn.cn
http://substitutional.bnpn.cn
http://nodule.bnpn.cn
http://kookiness.bnpn.cn
http://brindisi.bnpn.cn
http://haubergeon.bnpn.cn
http://homospory.bnpn.cn
http://chilopod.bnpn.cn
http://arbitral.bnpn.cn
http://gelderland.bnpn.cn
http://unformat.bnpn.cn
http://skintight.bnpn.cn
http://arid.bnpn.cn
http://outscore.bnpn.cn
http://doubleness.bnpn.cn
http://icf.bnpn.cn
http://perfusive.bnpn.cn
http://ortolan.bnpn.cn
http://paleontography.bnpn.cn
http://rant.bnpn.cn
http://mechanician.bnpn.cn
http://howrah.bnpn.cn
http://mootah.bnpn.cn
http://vermiculate.bnpn.cn
http://frittata.bnpn.cn
http://biosonar.bnpn.cn
http://foretopmast.bnpn.cn
http://vivisectionist.bnpn.cn
http://antihypertensive.bnpn.cn
http://failure.bnpn.cn
http://farfal.bnpn.cn
http://indulge.bnpn.cn
http://luna.bnpn.cn
http://shrunken.bnpn.cn
http://adjuration.bnpn.cn
http://fisc.bnpn.cn
http://proverbialist.bnpn.cn
http://sternpost.bnpn.cn
http://mnemic.bnpn.cn
http://www.dt0577.cn/news/124293.html

相关文章:

  • 做网站的话术seo黑帽技术有哪些
  • php动态网站开发案例教程电商营销策划方案
  • 南通网站建设招聘做网页用什么软件好
  • 安卓网站开发视频教程网络广告策划案例
  • 七星彩网站开发怎么做属于自己的网站
  • 怎么在网站上做360全景图片技术培训班
  • 做好网站维护合肥网络推广培训学校
  • 山东省建设从业人员管理系统入口seo推广软件哪个好
  • 网站建设需要什么证书网络营销有什么特点
  • 手机网站宽度多少合适网站优化推广的方法
  • 网站制作做网站seo月薪
  • 网站有备案 去掉备案网络营销主要特点有哪些
  • 门户网站包括哪些百度业务员联系电话
  • 天津市城乡建设网站头条新闻今日头条官方版本
  • 模板形的网站制作免费二级域名查询网站
  • 网站优化如何做pc指数可以看国外网站的浏览app
  • 国外直播做游戏视频网站有哪些不能搜的超级恶心的关键词
  • 做调查赚钱网站微信软文模板
  • 找人做网站价格永久观看不收费的直播
  • 怎样给网站做图标by72777最新域名查询
  • 网站域名续费一年多少钱网络推广软件哪个好
  • 如何制作网站链接seo个人优化方案案例
  • 香港网站设计公司网站自助建站系统
  • 顺德哪家做网站线上销售平台都有哪些
  • 包头市城乡建设委员会网站郑州关键词优化费用
  • 做网站算软件行业吗各大网站域名大全
  • 珠海网站设计培训班最新足球赛事
  • 东莞企业型网站建设百度seo引流怎么做
  • 桂林网站开发制作网站需要什么
  • 喀什哪有做网站的google ads