This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.nutiteq.ui; | |
import java.util.LinkedList; | |
import java.util.List; | |
import android.graphics.Canvas; | |
import android.graphics.Paint; | |
import android.graphics.Paint.Align; | |
import android.graphics.Paint.Style; | |
import android.graphics.Path; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.nutiteq.projections; | |
import com.jhlabs.map.Point2D.Double; | |
import com.jhlabs.map.proj.ProjectionFactory; | |
import com.nutiteq.components.Bounds; | |
import com.nutiteq.components.ImmutableMapPos; | |
import com.nutiteq.components.MapPos; | |
import com.nutiteq.utils.Const; | |
public class Projection { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.nutiteq.app.layers; | |
import com.nutiteq.log.Log; | |
import com.nutiteq.projections.Projection; | |
import com.nutiteq.style.MarkerStyle; | |
import com.nutiteq.style.StyleSet; | |
import com.nutiteq.vectorlayers.MarkerLayer; | |
import com.vividsolutions.jts.geom.Envelope; | |
import com.vividsolutions.jts.geom.Geometry; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.nutiteq.app.layers; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.net.URL; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.concurrent.locks.ReentrantLock; | |
import org.json.JSONArray; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.nutiteq.app.listeners; | |
import javax.microedition.khronos.opengles.GL10; | |
import org.json.JSONObject; | |
import android.app.Activity; | |
import android.view.View; | |
import android.webkit.WebView; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.nutiteq.app.layers; | |
import com.nutiteq.components.MapPos; | |
import com.vividsolutions.jts.geom.Envelope; | |
public class TileUtils { | |
private static final double TILESIZE = 256; | |
private static final double initialResolution = 2.0f * Math.PI * 6378137.0f | |
/ TILESIZE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.nutiteq.rasterlayers; | |
/** | |
* A raster layer class that uses an URL as a source for the map tile data. The request are generate in this manner: | |
* <p> | |
* <p> | |
* baseUrl + zoom + separator + x + separator + y + format | |
* <p> | |
* <p> | |
* For example if: baseUrl = "http://tile.openstreetmap.org/", separator = "/", format = ".png" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.nutiteq.app.layers; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.io.StringReader; | |
import java.net.HttpURLConnection; | |
import java.net.URL; | |
import java.util.LinkedList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.nutiteq.ui; | |
import henson.midp.Float11; | |
import com.nutiteq.wrappers.Font; | |
import com.nutiteq.wrappers.Graphics; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.nutiteq.tasks; | |
import java.io.BufferedInputStream; | |
import java.io.IOException; | |
import java.net.HttpURLConnection; | |
import java.net.URL; | |
import java.util.Map; | |
import android.graphics.Bitmap; | |
import android.graphics.BitmapFactory; |
OlderNewer