In the android emulator,these are a Maps application on in ,In can show the street view
but i don't know which function can do this,can you give me some information,if have a sample demo it will better.
thanks.



public void setStreetView(boolean on)
Control whether Street View availability (blue outlines) is shown on the map. This is incompatible with Traffic indicators, so they will be deactivated if necessary. Street View availability can be drawn over map tiles or over satellite tiles; however, they are optimized for map tiles.
Parameters
on If true, turn street view availability on. If false, turn them off.


public void setOnTouchListener(View.OnTouchListener l)
Register a callback to be invoked when a touch event is sent to this view.
Parameters
l the touch listener to attach to this view
public Projection getProjection()
Get a projection for converting between screen-pixel coordinates and latitude/longitude coordinates.
Returns
* The Projection of the map in its current state. You should not hold on to this object for more than one draw, since the projection of the map could change.


Users browsing this forum: No registered users and 3 guests