You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. If I understand correctly, the server hostname part depends on tile coordinates? In that case you need to create a custom subclass of HTTPTileDataSource and you need to override its buildTileURL method, which takes 2 arguments: baseURL (which you can basically ignore) and mapTile, which you need to use to form correct map URL.
Hello,
how to use wikimapia with HTTPTileDataSource?
Is that possible?
But it doesn't work:
int minZoom=0;
int maxZoom=20;
String mapUrl="http://i{s}.wikimapia.org/?x={x}&y={y}&zoom={z}&r=0&type=map&lng=0";
String servers="(x%4)+(y%4)*4";
StringVector mStringVector=new StringVector();
mStringVector.add(servers);
HTTPTileDataSource mHTTPTileDataSource=new HTTPTileDataSource(minZoom, maxZoom, mapUrl);
Could you help me with that sample code, thank you so much.
The text was updated successfully, but these errors were encountered: