Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
// Shows International Space Station location as marker on map, for current time | |
{ | |
MapPos issPos = predictISS(System.currentTimeMillis()); | |
iss = new Marker( | |
mapView.getComponents().layers.getBaseProjection().fromWgs84(issPos.x, issPos.y), | |
new DefaultLabel("ISS"), markerStyle, null); | |
markerLayer.add(iss); |
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.hellomap; | |
import android.content.Context; | |
import android.util.AttributeSet; | |
import android.view.MotionEvent; | |
import com.nutiteq.MapView; | |
import com.nutiteq.log.Log; | |
public class MyMapView extends MapView { |
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
{ | |
// create layer and add a circle to it | |
GeometryLayer locationLayer = new GeometryLayer(mapView.getLayers().getBaseProjection()); | |
mapView.getComponents().layers.addLayer(locationLayer); | |
circle(-122.416667f, 37.766667f, 100, locationLayer); | |
} | |
// helper to draw a circle to given layer | |
private void circle(float lat, float lon, float circleRadius, GeometryLayer layer){ |
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.nutiteq.components.Bounds; | |
/** | |
* EPSG:3301 is L-EST projection, Estonian official (Lambert Conformal Conical) | |
*/ | |
public class EPSG3301 extends Projection { | |
private static final String ARGS[] = "+proj=lcc +lat_1=59.33333333333334 +lat_2=58 +lat_0=57.51755393055556 +lon_0=24 +x_0=500000 +y_0=6375000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs" | |
.split(" "); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder