Back to project page hellomap3d-android.
The source code is released under:
MIT License
If you think the Android project hellomap3d-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.nutiteq.advancedmap3.datasource; //from w w w .jav a 2 s .co m import java.util.ArrayList; import com.nutiteq.core.MapTile; import com.nutiteq.datasources.TileDataSource; import com.nutiteq.core.TileData; public class MyAnimatedTileDataSource extends TileDataSource { private ArrayList<TileDataSource> dataSources; public MyAnimatedTileDataSource(int minZoom, int maxZoom, ArrayList<TileDataSource> dataSources) { super(minZoom, maxZoom); this.dataSources = dataSources; } public TileData loadTile(MapTile tile) { return dataSources.get(tile.getFrameNr()).loadTile(tile); } }