We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
官方提供的https://lbs.amap.com/api/javascript-api/example/personalized-map/set-theme-style
baseUrl: #瓦片下载地址 amap: "http://wprd01.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scl=1&style=5&x={x}&y={y}&z={z}" 设置的下载地址参数怎样对应?
The text was updated successfully, but these errors were encountered:
他这种样式应该是动态渲染了,你配置好样式后,它会生成一个css文件。例如 tile-loader/src/main/resources/offline-maps-api/amap/style/normalStyle.css 但当初我尝试过将css离线后用api加载,可惜没有生效。你可以自己尝试一下,js api中我应该有标记css样式的加载位置。你再js中搜索 TODO 标识
Sorry, something went wrong.
看了一下,它的这个自定义样式,大概是它本身加载的是矢量图,然后页面直接动态渲染的。而我们离线的是瓦片,所以不支持它的那种自定义样式。至于其他样式的图,就看看高德默认提供哪些类型的瓦片了,至少卫星瓦片应该是有的,可以试试瓦片下载的url中的style属性设置成其他值看看
No branches or pull requests
官方提供的https://lbs.amap.com/api/javascript-api/example/personalized-map/set-theme-style
baseUrl: #瓦片下载地址
amap: "http://wprd01.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scl=1&style=5&x={x}&y={y}&z={z}"
设置的下载地址参数怎样对应?
The text was updated successfully, but these errors were encountered: