Setting the precaching feature as described by you guys does start the process, but I notice that only 3 tiles are downloaded and then the process stops for some reason. Manually visiting the area does download more tiles.
Aside from that, the app also seems to stop downloading tiles after some zoom level. I can see the difference when comparing to a web-app which uses OpenLayers.
levelTileCondition = new LevelTileCondition(0, 30);
requiredSector = new Sector(
new Geodetic2D(Angle.fromDegrees(56.2954), Angle.fromDegrees(10.6052)),
new Geodetic2D(Angle.fromDegrees(56.3116), Angle.fromDegrees(
aarhusLayer = new WMSLayer("Pyramid", new URL("http://..../ows?", false),
WMSServerVersion.WMS_1_3_0, requiredSector, "image/png",
"EPSG:4326", "", true,
levelTileCondition,
TimeInterval.fromDays(30), true);
...
g3mWidget = builder.createWidget();
CustomTileVisitorListener myTileVisitorListener = new CustomTileVisitorListener();
final TileVisitorCache_Android tvc = new TileVisitorCache_Android(g3mWidget.getG3MContext(), myTileVisitorListener);
g3mWidget.getG3MWidget().getPlanetRenderer().acceptTileVisitor(tvc,
requiredSector,
0, 30);
Please check the below two images to notice the difference between max zoom level in app vs. OpenLayers in web-app. Note that the tile size on the server is 256x256.
Hi guys,
Setting the precaching feature as described by you guys does start the process, but I notice that only 3 tiles are downloaded and then the process stops for some reason. Manually visiting the area does download more tiles.
Aside from that, the app also seems to stop downloading tiles after some zoom level. I can see the difference when comparing to a web-app which uses OpenLayers.
Please check the below two images to notice the difference between max zoom level in app vs. OpenLayers in web-app. Note that the tile size on the server is 256x256.
Android app: [ http://s17.postimg.org/bat6u0igf/aar_airplane_app.png] Web app: [http://s16.postimg.org/65dbrv88l/aar_airplane_website.png]
Why is this happening?