当前位置:网站首页>Node red series (25): integrate Gaode map and realize 3D map and track playback
Node red series (25): integrate Gaode map and realize 3D map and track playback
2022-06-13 09:46:00 【Bring me my Plaid】
Preface
In the last article I introduced how to stay node-red Using the Gaud map api sdk. And show you how to use template To display a map component . In this document, I will teach you how to implement a 3D The map is displayed on the panel .
And realize a common function in the map , Track playback , This is in route planning , Very useful in vehicle navigation . Combined with other functions, it can also achieve cool effects . Here is a detailed introduction to these two cases .
3d Map display
To make a 3d Map , Just introduce sdk It's not enough. , Other plug-ins need to be introduced .
Gaud map's JS API 3D Map is a new map view effect based on vector map data , comparison 2D Map added to rotation 、 Support for map functions such as angle of view tilting .3D Map based WEBGL Development , While maintaining fluency , Added support for functions such as non level zoom .
Take a look at the effect 
Let's implement this case .
First, in the node-red In the edit panel of , introduce template node , Write the contents of the node .
introduce /amap-loader.js
Configure Gaode map KEY, load SDK
Write the code to initialize the map
AMapLoader.load({
// Call for the first time load</边栏推荐
- It was so simple to implement system call
- Jenkins接入Openldap用户认证
- Jenkins集成Ldap,Ldap配置错误导致jenkins用户登录失败问题解决
- (state compression dp+ binary) acwing 91 Shortest Hamilton path
- Queue and stack
- Biden: hope to sign the bipartisan gun safety reform bill as soon as possible
- Consolas-with-Yahei
- GPIO of hardware schematic diagram
- acwing 786. Number k
- Figure: concept of figure
猜你喜欢

Classical convolutional neural network model

Blue Bridge Cup group 2021a - two way sorting

【pytorch环境安装搭建】

Standard template library (STL)

Leetcode (question 15) - sum of three numbers

苹果放大招!这件事干的太漂亮了……

(dijkstra+ shortest path + edge traversal 0 (m)) acwing 850 Dijkstra finding the shortest path II

Figure: concept of figure

(bfs) acwing 847. Hierarchy of points in the graph
![[51nod 2493] sum of binary distances [bit operation]](/img/e9/8a8393f41cac7c323712c34f4d3e01.jpg)
[51nod 2493] sum of binary distances [bit operation]
随机推荐
Standard template library (STL)
Exercise 7-10 finding specified characters (15 points)
Acwing785. quick sort (sort+ quick sort + merge sort)
[51nod p2106] an odd number of times [bit operation]
Smart210 uses SD card to burn uboot
英国出台粮食安全计划抵御粮食供应危机
GCC compilation process
[51nod 2493] sum of binary distances [bit operation]
(tree DP) acwing 285 A dance without a boss
ASCII码值是怎么计算的,怎么计算arccos的值
(state compression dp+ binary) acwing 91 Shortest Hamilton path
Consolas-with-Yahei
[51nod p3047] displacement operation [bit operation]
Tree and binary tree: storage structure of binary tree
删除软链接
C# 11 新特性:接口中的静态抽象成员
GPIO of hardware schematic diagram
(dfs) acwing 842. Arrange numbers
LeetCode 6096. Success logarithm of spells and potions (binary search)
Jenkins accédant à l'authentification de l'utilisateur openldap