Closed rajatapporio closed 5 years ago
Hi @rajatapporio
I have just few questions to clarify the issue:
Are you using online maps (and services)? -> I can see you are calling OnlineManager.getInstance().enableOnlineMapStreaming(true);
so I suppose you do. In that case see question no 2.
Can you see maps loaded correctly?
In the time you were doing the test, were there some road closures in the target area? That would explain unreachable error code...
I tried to compute that route myself and it has been computed successfully at around 10:30 GMT+2.
I'll check server logs for your api key in the meantime but it would be helpful if you can try it again and write me exact time you were doing the compute.
Thanks
Hello @bio007 , thanks for replying
Ans 1. Yes I am using online maps
Ans 2. Yes the map loaded correctly and I redirected location to my current lat long (written hardcoded)
Ans 3. No there is no road closer (The locations I have eneterd are 4 kms far from each other) Moreover, I also tried with various lat longs of India as well as US also. I also tried with the method which is shown in the documentation
routePlan.setStart(mapView2.geoCoordinatesFromPoint(300, 300)); routePlan.setDestination(mapView2.geoCoordinatesFromPoint(600, 700)); // x,y are screen coordinates.
some times it gives error 17 too (i.e "InvalidSelection")
Exact time I did compute >
Earlier - > ( Many times between 12:30 PM to 1:30 PM IST (Indian Standard Time) )
Now - > ( 14:54:53 IST (Indian Standard Time) ) = ( 02:54 PM IST( Indian Standard Time) )
We've found out the source of your problem. There has been a issue with a map of India for your set of services (and your API key combination)
My tests were successful because I've been using different set of maps not affected by the issue. We are deploying new maps for you right now so it should be working in no time.
I am making the app with your sygic sdk in android. I got an error in Routing please help to solve that. I am coding according to your documentation.
Link > https://www.sygic.com/developers/sygic-maps-sdk/android/routing
I am getting error after "mRouter.computeRoute();"
Below is my MainActivity Code ->
////////////////////////////////////////////////////////////////////////////////////////////////////////////// package com.example.sygicdemo5;
import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import com.sygic.sdk.map.MapFragment; import com.sygic.sdk.map.MapView; import com.sygic.sdk.map.listeners.OnMapInitListener; import com.sygic.sdk.online.OnlineManager; import com.sygic.sdk.position.GeoCoordinates; import com.sygic.sdk.route.RouteInfo; import com.sygic.sdk.route.RoutePlan; import com.sygic.sdk.route.Router;
public class MainActivity extends AppCompatActivity {
}