Location:

Overview

NavInfo Map Navigation Application Development SDK [Navinfo Navigation SDK for Android] is a map navigation client application product development kit based on Android 2.3 version and above. Users can easily construct a variety of interactive applications based on map navigation. The NavInfo map navigation application product development SDK provides basic functions such as 3D map display and operation, location information search, navigation calculation, navigation process management, etc. It can be combined with MPS (GPS, base station, WIFI hybrid positioning) interface to achieve map positioning and other functions, to meet Different application needs of different users.

Feature introduction and experience

  • Map Display

                        (For complete code, see the MapViewActivity.java file of the Demo project)
                        // Custom map view
                        private DemoMapView mDemoMapView;
                        // Map rendering control class
                        private MapRenderer mRenderer;
                        /**
                        * Show map,
                        */
                        @Override
                        protected void onCreate (Bundle savedInstanceState) {
                            super.onCreate(savedInstanceState);
                            setContentView(R.layout.mapview);
                            // Initialize the map
                            initMap();
                        }
                        /**
                        * Initialize the map
                        */
                        private void initMap () {
                            try {
                                // load the map
                                mDemoMapView = (DemoMapView) findViewById(R.id.glView_mapview);
                                mDemoMapView.setHandler(handler);     
                            } catch (Exception e) {
                                e.printStackTrace();
                                new MessageBox(this, false).showDialog(e.getMessage());
                            }
                        }
                        /*
                        * Custom map view, all map-related operations can be customized
                        */
                        public class DemoMapView extends MapView {
                            // Initialize the view used to enlarge the drawing
                            // Start simulated navigation
                            // End the simulation navigation
                            // draw a magnified view
                            // Draw the arrow specifying Maneuver
                            // draw the camera
                            // draw multiple routes
                            // draw a single route
                            // Set the route to open Tmc mode
                            // show the route on the map
                            // set the destination
                            // Start counting
                            // Control whether to lock the car
                            // Get the current location of the car
                            // Set the angle of the current car, used to update the angle of the car when navigating
                            // Display a POI message at the specified location on the map
                            // hide the specified route
                            // delete all routes
                            // Map zoom operation
                            // Map zoom out
                            //  ……
                        }
                    
  • Overlay

  • POI Search

  • Offline Data

TOP