Use Amap SDK to develop simple navigation App for Android

First refer to the Amap Open Platform SDK Development Guide: Under Documentation and Support-Android platform, you can choose which type of development to refer to. Step 1: Configure Android Studio Android Studio is very troublesome to configure, and various problems will inevitably occur, causing me to crash several times. Into the title: 1. New project […]

Render MarkDown in antd and customize an anchor directory TOC (focusing on solving the problem that the navigation directory does not follow the scrolling of the document)

1. Overall idea Since there are many long documents that need to be rendered, I think the MarkDown method is more suitable for management, so I have tested integrating the MarkDown rendering module in antd in the past two days. General idea reference: https://blog.csdn.net/Sakuraaaa_/article/details/128400497 Thank you for your generous efforts. Parse MarkDown using react-markdown Use […]

The new version of jetpack navigation2.5.3 returns repeated creation of fragments

When navigation returns, it will re-create the version of the fragment before 2.3.5, most of the modifications (the new version is invalid): override fun navigate( destination: Destination, args: Bundle?, navOptions: NavOptions?, navigatorExtras: Navigator.Extras? ): NavDestination? { if (mFragmentManager.isStateSaved) { Log.i( TAG, “Ignoring navigate() call: FragmentManager has already” + “saved its state” ) return null } […]

vue2 skill tree (11) – routing installation and basic configuration, routing navigation, nested routing

Directory Routing installation and basic configuration Install Vue Router Configure Vue Router Create a Vue component Using Vue Router in your application Define routes in your application Create routing view Complete project example Detailed explanation of route navigation Basic navigation Via route link “ Project examples Programmatic navigation Project examples Nested route navigation Project examples […]

Solve Vue error: Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location

1. When clicking navigation repeatedly, an error message appears on the console Solution: Option 1: Just add the following code under the router folder: import Vue from ‘vue’ import VueRouter from ‘vue-router’ import Home from ‘@/views/Home’ import Main from ‘@/views/Main’ import User from ‘@/views/User’ Vue.use(VueRouter) // 0. If you use the modular mechanism to program […]

Robot SLAM and autonomous navigation

The rapid development of robot technology has prompted robots to gradually enter people’s lives, and service-type indoor mobile robots have attracted widespread attention. However, there are still many problems that need to be solved in the popularization of indoor robots, and positioning and navigation are one of the key issues. In the research of this […]

Configuration instructions for the main program of the LOCKGIS geographical information system (map pop-up window, image annotation, setting the best view, specifying the map center, H5 acquisition navigation, WeChat applet environment recognition)

Leukengshi geographic information system documentation (LOCKGIS, php background management, three-in-one PC-H5-WeChat applet, Baidu map jsAPI secondary development, annotation pop-up navigation) Configuration instructions for the LOCKGIS applet of the leaked geographical information system (web-view component, server domain name configuration, copy link and forwarding functions) Configuration instructions for the main program of the LOCKGIS geographical information system […]

Android vertical navigation bar (BottomBar)

1. Brief explanation A NavigationBar custom control that supports landscape and portrait orientation Adapted based on this big guy’s article: https://blog.csdn.net/qq910689331/article/details/81941887 Added vertical support and some comments based on the original codeUsage effect: 2. Upload the code The code is only 400 lines long, so it is very convenient to just copy it and use […]

Vue2 project practice: Shangpinhui (5) personal center page, navigation guard, lazy loading, end

Table of Contents (1) Personal center page 1. Split the secondary routing: my order, group purchase order 2.My order (1) Request data dynamic display (2)Pager component (2) Navigation guard 1. Global routing guard 2. Exclusive routing guard 3. In-component routing guard (3) Lazy loading 1. Lazy loading of images 2. Lazy loading of routes (4) […]