how to work on offline 3d maps using nutiteq in android -


I am sorry if this question has been asked before. But I'm getting worried while working on the offline 3D map. I've downloaded source code from Github:

It's working well but nothing happens on its offline activity, the map does not work. Please find me a lot, but no working code was found. If any of you have a working code then it has been highly appreciated. thank you in advanced ..!

The following screenshot is asking for .nml or .dae file. After selecting any of the files, the .nmldb image is shown on the map (a man here). If the internet connection is on, it shows 3D maps and if the connection is closed only. Nml image is shown. Enter image details here

 Enter image details here  Enter the image details here The errors I am receiving are the following:

  com.nutiteq.rasterdatasources.HTTPRasterDataSource: Failed to load the tile. Unable to resolve host "otile1.mqcdn.com": No address associated with hostname DataSourceFetchTask: Any tile data   

This is the code that is working fine if the Internet Connectivity is ON and OFF, the above error is displayed and I get the image of only one person without the map (screenshot 3):

  RasterData source data source = new HTTPRasterDataSource (new EPSG3857 (), 0, 18, "http: // otile1.mqcdn.com/tiles/1.0.0/osm/{zoom}/{x}/{y}.png"); RosterLayer maplere = new rasterlear (datasource, 0); . MapView.getLayers () setBaseLayer (mapLayer);    

The following code means that you use an online data source from online map map queries Do: raster data source source = new HTTPRasterDataSource (new EPSG3857 (), 0, 18, "http://otile1.mqcdn.com/tiles/1.0.0/osm/ { Zoom} / {x} / {y} .png ");

You should change it with the offline data source, there are different options, see the Nautic wiki page for data slots that you can get with the Advanced Layers Project.

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -