google-maps

How to get Google Maps API to set the correct zoom level for a country?

Is there a was of automatically setting the zoom level based on the size of the country that the map has been centered on? maps.google.com does exactly what I need, so, for example, if I search for Russia I get a zoom level such that Russia just fits on screen, and when I search for Cuba I get a higher zoom level so that Cuba just fits....

MapView not working [android]

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...

remove a single overlay in googlemaps

Hi, does anyone know if it is possible to remove the overlay where I previously drew a polygon? I don't want to use clearOverlays because it will remove all the markers also, instead I want to just hide the markers. Thanks, Richard ...

Integrate Mapview into a tab/Integrate overlays/markers.

I need some help integrating a mapview into a tab and integrate overlays/POI. Current code: TravelBuddy.java package com.travelbuddy.android.jappapps; import android.R; import android.app.TabActivity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.widget.FrameLayout; import andro...

How to set the zoom value to the map?

I am new to iphone development.I am creating a map application.I want to load the map with a desired location with desired type and zoom.I am able to load the map at desired location by setting the coordinates.i want the zoom to be 18 and the map type to hybrid. - (void)viewDidLoad { MKCoordinateRegion region; region.center.latitude=31...

Using Google Maps API to get Address of Business

Hello Guys I have a requirement and I am hoping Google Maps API will have a solution. I have never used Google Maps API - so I am very new to this. On the website homepage there is a form, when a user comes, I want the following things to happen: 1) The city field should be populated with users city based on IP 2) There is a second fi...

Embedded google maps map in directions page

I want to have my directions page having the same functionality as this page i.e. the Google Map object is updated from the form on the right. How can I have this in my pages? I'm using Django BTW, but I don't think this will matter much...implementation should be universal for something like this. ...

Find Stores by Location

I have a list of about 60 stores with physical addresses and geocodes. I would like to make a simple interface where a user can enter a zip code, or city and state, or even a street address and have the list sort in order of proximity to the entered address. This is a very common feature of websites as I understand. My plan to do this...

Overlays not working in Google MapView Tutorial Android

Got some errors following the tutorial for MapView when i was going to integrate overlays. TravelBuddy.java package com.jappapps.android.travelbuddy; import java.util.List; import android.graphics.drawable.Drawable; import android.os.Bundle; import com.google.android.maps.MapActivity; import com.google.android.maps.MapView; import co...

Google Maps API V2: How to add markers which behave like the default google maps markers

I was wondering, with the free version... Can I plot the more default markers (from maps.google.com). The kind which when clicked, offer the option to enter driving directions and other tid-bits pulled from google's search of a business (eg: reviews). ...

Can't seem to download the tiles for my map application

Hi there, this is my first question and I've been messing around with android for just a couple of days now. The problem arose when I tried to follow an example code to experiment with the MapView class (http://developer.android.com/resources/tutorials/views/hello-mapview.html). I installed the Google APIs add-on in my SDK and did ever...

Maps Google: Padding top or centering a InfoWindowTabsHtml

Sometimes, when a InfoWindowTabsHtml is oppened, a panning moves the map a little bit to the top. The anchor used would be the beginnig of the InfoWindow, but actually is using the text of the tabs, Example: www.maplist.com.br/image.png Here I have two options: adjust the pan to the beginnig of the InfoWindow (the best solution) or ope...

Show wind direction on Google Maps

I calculated the wind direction and now I want to show the wind direction pointing to 144 degrees (on compass). How can I show this arrow on Google Maps? ...

Google Maps Cluster Not Working With Ym4r_gm

I am attempting to get a Google Maps cluster working with ym4r_gm for Rails. I know the general code works because every point is being displayed on the map. The problem is that every point is being displayed on the map. I only have like 350 points (right now) so its not too bad without clustering, but I would like to have it working ...

how to add another event listener after added once..?

Hi all, I'm new to Javascript and also Maps in Google. my task is : to allow user to add marker on the map display an info window when the user click on the marker display 'Kuala Lumpur City Center' in the info window if the marker pointing to the Kuala Lumpur City Center and 'Unknown location' for other locations. My problem is I ...

google map v3 directionsDisplay on marker position wrong

Problem about google map API v3. I already asked in google groups but want to hear from here too. I want to show directions from my specific markers. In my example, I plot 2 markers then show direction by set start and end with lat lng of makers. My example here : http://wantknow.000space.com/question.html The problem is (Please use ...

How to emulate gps location in the android Emulator?

I want to get longitude and latitude in android emulator for testing. Can any one guide me how to achieve this? How do I set the location of the emulator to a test position? ...

display User Location in Gmaps based on his Zip code

Hi, I am building an accommodation website where users can advertise their room with their address. I want to know if i can use the zipcode to show the exact location in Gmaps which i believe would be much cooler. I would be very thankful if someone can guide me with simple set of steps to do the same. thanks in advance! ...

Reverse Geocoding Using J2ME

Hi, My project runs on J2ME and requires me to get the user current street address. I am able to get the user coordinates using location based. But how do i go about getting the street address?? I know google map does the reverse geocoding. But how can i link that to my application?? And will there be any legal issues too?? Any guida...

how to add map.jar into myproject in android?

hi all, i am working on mapactivity. map.jar file in sdk\add-ons path. how to add it in my project?? thanks.. ...