Hi,
I have a working mapview application in which I can hit a service and show GPoints on the map as overlay.
What I want to do next is show an encoded Gpolyline as an overlay on my mapView.
When I try to instantiate a GPolyline poline object in my main activity, eclipse doesnt recognize the class. Is there a library import I am missin...
I have a MapView that I'm displaying a "useful radius" (think accuracy of coordinate) in. Using MapView's Projection's metersToEquatorPixels, which is admittedly just for equatorial distance) isn't giving me an accurate enough distance (in pixels). How would you compute this if you wanted to display a circle around your coordinate, given...
Hi all,
i would to remove all annotations from my mapview without the blue dot of my position, when i call:
[mapView removeAnnotations:mapView.annotations];
all annotations are removed....
in wich way can i check (like a for loop on all the annotations) if the annotation is not the blue dot annotation??
thanks in advance..
...
I want to catch any onTouchEvent() on the mapview. After search lots of questions&answers, I found only when I write my own MapView(MyMapView)and define onTouchEvent, then use this MyMapView in main activity.
Is it the only way??
...
Hello,
I'v been busy for a long long long time finding out how to draw a line between two (gps) points on the map in HelloMapView but with no luck.
Could anyone please tell me how to do so.
Suppose I use the HelloMapView which extends MapView. Do I need to use overlays? If so do I have to override the onDraw() method of the overlay an...
Can any one please tell me how to show the route between two geo point in android application.If you can provide some code snippet.
thanks in advance.
...
To update the location of a GPS indicator on mapView...
[mapView removeAnnotation:myGpsAnnotation];
[myGpsAnnotation release];
myGpsAnnotation = nil;
myGpsAnnotation = [[MapLocationAnnotation alloc] initWithCoordinate:region.center annotationType:MapAnnotationTypeGps title:MAP_ANNOTATION_TYPE_GPS];
[mapView addAnnotation:myGpsAnnotation...
Hi everybody, I'm building right now an iPhone app that basically is organized as follows:
We have a Navigation Controller with a Table View all inside of a TabBar (a classic in iPhone apps) then in one of my tabs I fill the table view with data extracted from a DB in sqlite, so this far I have no problems, I display the drill down cor...
Say I have mapview control in my Android app. If I know a landmark exists at a certain latitude and longitude, how can I determine if that landmark is currently viewable on the user's screen? Is there a method for getting the coordinates for the top left and bottom right corners of the visible area?
...
Hi,
I want to add an ItemizedOverlay to a MapView that always keeps one
OverlayItem as the selected one. I indicate this by using a
StateListDrawable with two different marker drawables.
But right now, whenever I tap on the map and not hitting a marker, the
last selected item will get deselected. But I always want to keep the
last item...
Hi, i have a little trouble with the android mapview. It simply crashes every time i try to open the app!
Code:
package com.jappapps.android.travelbuddy;
import android.os.Bundle;
import com.google.android.maps.MapActivity;
import com.google.android.maps.MapView;
public class TravelBuddy extends MapActivity {
/** Called when the a...
hi all,
how to get MapView API in android?
thanks
...
hiall,
02-18 00:02:08.432: ERROR/PackageManager(57): Package com.example.brown requires unavailable shared library com.google.android.maps; failing!
i got this exception in logcat.
any idea???
...
hi all,
i am working on mapactivity.
map.jar file in sdk\add-ons path.
how to add it in my project??
thanks..
...
hi all,
while the map is in loading state i want to put a progressbar at the center of mapview.
how to get the progress?? and how to do??
give me some example..
thanks.
...
I'm creating an Android app that searches for items based on the visible area of the MapView. Is there a way to set up a listener on my MapView to detect when a map has been panned or zoomed?
...
I followed the instructions from the google hellomapview tutorial. I get a working mapview etc. But the two items that are added to the map are not shown. It seems they are there somewhere because tapping at the specified location shows the message that was added to the items.
Edit
Here is my source code. It should be very close to the...
I have heard rumors that the use of a MapField or MapView in a BlackBerry app typically presents a problem because carriers such as AT&T and Verizon in the US have locked down the devices so as to not make those API's available or usable. I have three questions:
1) I am new to BlackBerry development. What's the difference between MapFie...
i am creating a Geocoder object like.
Geocoder geoCoder = new Geocoder(getBaseContext(), Locale.getDefault());
here i got this error in eclipse. i.e.
The method getBaseContext() is undefined for the type MyMapOverlay
getBaseContext() is a default method in android.content.ContextWrapper class.
what is the problem here.. any idea??...
Hi all.
Going round in circles here i think.
I have an activity called Locate;
public class Locate extends Activity {
public static String lat;
public static String lon;
public static String number;
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.locate);
...