Java tutorial
//package com.java2s; //License from project: Open Source License import java.util.Locale; public class Main { public static String getMapTileURL(String mapID, String accessToken, int zoom, int x, int y) { return String.format(Locale.US, "https://a.tiles.mapbox.com/v4/%s/%d/%d/%d%s.%s?access_token=%s", mapID, zoom, x, y, "@2x", "png", accessToken); } }