Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

enter image description here I have an issue regarding "SKHeading". When i use (SKMapSettings.SKHeadingMode.ROTATING_MAP) and starts navigation i am getting a triangle on my navigated route which define a header i want to edit that header to smaller one but i am not able to find it in code can you please suggest me how to do that one. So that i can make that header triangle small and play around with it.Below is my code:

   SKNavigationSettings navigationSettings = new SKNavigationSettings();
            navigationSettings.setNavigationType(SKNavigationSettings.SKNavigationType.SIMULATION);
            navigationSettings.setPositionerVerticalAlignment(-0.25f);
            navigationSettings.setShowRealGPSPositions(true);
            navigationSettings.setShowStreetNamesPopusOnRoute(true);
            navigationSettings.setDistanceUnit(SKMaps.SKDistanceUnitType.DISTANCE_UNIT_MILES_FEET);
            navigationSettings.getSpeedWarningThresholdInCity();
            SKNavigationManager sknavigation = SKNavigationManager.getInstance();
            sknavigation.setMapView(mapView);
            sknavigation.setNavigationListener(this);
            sknavigation.startNavigation(navigationSettings);
            navigationInProgress = true;
            mapView.centerOnCurrentPosition(17, true, 500);
            mapView.getMapSettings().setHeadingMode(SKMapSettings.SKHeadingMode.ROTATING_MAP);
            startOrientationSensor();

This is the line which creates that triangle. mapView.getMapSettings().setHeadingMode(SKMapSettings.SKHeadingMode.ROTATING_MAP

Please click on image and see the red circled marked.I want to remove that blue color triangle

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
975 views
Welcome To Ask or Share your Answers For Others

1 Answer

To change any textures you must go into the SKMaps.zip file located in your projects assets folder. All the textures used by SKMaps are contained inside this zip file including the ones used for creating the headers. You can change the textures inside the zip file as long as you keep the names the same.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...