org.hdtourist.view.utils
Class LocalizacionView

java.lang.Object
  extended by org.hdtourist.view.utils.LocalizacionView

public class LocalizacionView
extends java.lang.Object

The Class LocalizacionView.


Field Summary
private  com.nutiteq.geometry.Line circle
          The circle.
private  com.nutiteq.components.MapPos circlePos
          The circle pos.
private  float circleRadius
          The circle radius.
private  float circleScale
          The circle scale.
private  java.util.List<com.nutiteq.components.MapPos> circleVerts
          The circle verts.
private  com.nutiteq.vectorlayers.GeometryLayer layer
          The layer.
private static int NR_OF_CIRCLE_VERTS
          La constante NR_OF_CIRCLE_VERTS.
private  float projectionScale
          The projection scale.
private  boolean visible
          The visible.
 
Constructor Summary
LocalizacionView(com.nutiteq.vectorlayers.GeometryLayer layer)
          Instantiates a new localizacion view.
 
Method Summary
 void setLocation(com.nutiteq.projections.Projection proj, android.location.Location location)
          Fija el location.
 void setVisible(boolean visible)
          Sets the visible.
 void update(float zoom)
          Update.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NR_OF_CIRCLE_VERTS

private static final int NR_OF_CIRCLE_VERTS
La constante NR_OF_CIRCLE_VERTS.

See Also:
Constant Field Values

circle

private com.nutiteq.geometry.Line circle
The circle.


circlePos

private com.nutiteq.components.MapPos circlePos
The circle pos.


circleRadius

private float circleRadius
The circle radius.


circleScale

private float circleScale
The circle scale.


circleVerts

private java.util.List<com.nutiteq.components.MapPos> circleVerts
The circle verts.


layer

private final com.nutiteq.vectorlayers.GeometryLayer layer
The layer.


projectionScale

private float projectionScale
The projection scale.


visible

private boolean visible
The visible.

Constructor Detail

LocalizacionView

public LocalizacionView(com.nutiteq.vectorlayers.GeometryLayer layer)
Instantiates a new localizacion view.

Parameters:
layer - the layer
Method Detail

setLocation

public void setLocation(com.nutiteq.projections.Projection proj,
                        android.location.Location location)
Fija el location.

Parameters:
proj - the proj
location - the location

setVisible

public void setVisible(boolean visible)
Sets the visible.

Parameters:
visible - the new visible

update

public void update(float zoom)
Update.

Parameters:
zoom - the zoom