Results 1 to 4 of 4

Thread: 3D map bug while starting navigation on Epson Moverio API 15

  1. #1
    Neuer skobbler
    Join Date
    06.04.2016
    Posts
    2

    3D map bug while starting navigation on Epson Moverio API 15

    Hi, I'm currently developing the map for Epson Moverio, API 15. When I activate the navigation mode the 3D map view is messed up, so I can only use the 2D mode. However the 3D map looks fine when I try it to other device, with API 19.
    It looks like this

    3D View.jpg

    The map size is decreased in order to give wider view for the glass user. The 3D view is still messed up in the original size.
    Is there any way to solve this problem ?
    Last edited by monangkn; 19.04.2016 at 17:16.

  2. #2
    Dev platform evangelist dandronic's Avatar
    Join Date
    31.03.2014
    Posts
    177
    Checking to see if we correctly understand: the same code results in the correct result when compiling against API level 19 on a similar device, but renders incorrectly when compiling against API level 15?

    Can you check what result would running the same code in the demo project generate? Can you share with us your code for Android view?

  3. #3
    Neuer skobbler
    Join Date
    06.04.2016
    Posts
    2
    Quote Originally Posted by dandronic View Post
    Checking to see if we correctly understand: the same code results in the correct result when compiling against API level 19 on a similar device, but renders incorrectly when compiling against API level 15?

    Can you check what result would running the same code in the demo project generate? Can you share with us your code for Android view?
    Yes, you got the point.
    I've tried the demo project, and the result is the same, like this picture
    Screenshot_2016-04-19-16-33-04[1].jpg

    Meanwhile for my own view, what I do is simply change the alignment of the view,
    HTML Code:
     <com.skobbler.ngx.map.SKMapViewHolder
                        android:id="@+id/view_group_map"
                        android:layout_width="match_parent"
                        android:layout_height="match_parent"
                        android:layout_alignParentBottom="true"
                        android:layout_centerHorizontal="true"/>
    and change the size when the navigation starts
    Code:
     @Override
        public void onNavigationStarted() {
    
            ActionBar actionBar = getActionBar();
            actionBar.hide();
    
            com.skobbler.ngx.map.SKMapViewHolder mapsview = (com.skobbler.ngx.map.SKMapViewHolder) findViewById(R.id.view_group_map);
            ViewGroup.LayoutParams params = (ViewGroup.LayoutParams) mapsview.getLayoutParams();
            ViewGroup.MarginLayoutParams paramsl = (ViewGroup.MarginLayoutParams) mapsview.getLayoutParams();
    
          
            params.height = 200;
            params.width = 320;
    
    
            mapsview.setLayoutParams(params);
    
            skToolsNavigationInProgress = true;
            numberOfConsecutiveBadPositionReceivedDuringNavi = 0;
            if (navigationUI.getVisibility() == View.VISIBLE) {
                navigationUI.setVisibility(View.GONE);
            }
    
            gpsPositionsDelayChecker = new Handler();
            startPositionDelayChecker();
        }

  4. #4
    Oberskobbler
    Join Date
    22.07.2014
    Posts
    399
    We've reported this to our development for further investigation- once we'll have an update we'll let you know.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •