google-maps

Integrating Google street view inside marker

Hello; When we search for addresses on Google Maps website, if street view is available for that address, its marker adds a little image with a link to view Street View for that area. My question is, can I integrate such thing with my custom map? An example would be: http://maps.google.com/maps?f=q&source=s%5Fq&hl=en&geoc...

How to center Google Map on a country by name

I'm using the Google Maps API (v2) and would like to center the map onload to a country (for example england). At the moment i center the map using: map.setCenter(new GLatLng( 43.907787,-79.359741), 9); But this obviously requires longitude and Latitude. Any way to do this by inserting a name of a country? ...

Using maps on Windows Mobile

I'm experimenting with maps on different mobile platforms. Getting Google Maps to work on Android was easy, following this tutorial. Getting the same to work on Windows Mobile is a different matter. Any suggestions on how to do this? Google Maps API doesn't seem to support Windows Mobile. Guess I could try using Google Static Maps, but...

Google Maps Add a Marker to Map, then Store Latitude and Longitude in Ruby on Rails

I've had a look at the previous questions asked but i cannot quite seem to fit this in so here it is: Basically, I have a Ruby on Rails project and i would like to have a page where the user pin points his location on a google map by adding a marker (only 1 should be permitted) and then store the longitude and latitude within the Ruby o...

Google Maps not rendering completely on page?

Hi guys, I have a google maps on my page with a search pane I built myself which can be displayed and hidden at will. It covers like lets say 200 pixels of the map on a side. The thing is that when I resize my map or so the area where the pane overlaps is unrendered i.e the map doesn't render there for some reason. Check out this link ...

embedded google map is just gray

I embedded a google map on my page. In IE8, part of the map renders but the rest of the map is gray. In firefox, the entire map is just gray. My code is this: <script type="text/javascript"> function initialize() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElement...

Why does the google geocoder give different results from the map search?

For example, searching for "36 High Street Clapham London SW4 7UR" using the geocoder gives a significantly different location from the main map search, rendering the geocoding service useless, for my purposes at least. Anyone know why this is and if there's a workaround? ...

How to scale markers on Android, and set shadow and onTap correctly

I'm scaling markers on a MapView with the following code OverlayItem oi = new OverlayItem(point,"Title", "Desc"); oi.setMarker(getCustomMarker(0.5f, 0.5f)); itemizedOverlay.addOverlay(oi); and: private BitmapDrawable getCustomMarker(float scaleWidth, float scaleHeight){ int width = originalMarker.getWidth(); int height = orig...

Can Google Maps plot points based on Hours Minutes Seconds

I'm trying to plot out GPS data that is given to me in Hour Minute Second degree format. Will GLatLng take it in this form or do I need to convert it first. Having a hard time finding anything on the internet about this. If it can take it in this format an example would be much appreciated. ...

Google Map disappears in ajax loaded page

I have a testsite which loads at the push of the magnifying button .../forms/viewlab.php?sid=2 dynamically via jquery 'load' (ajax). Viewlab.php contains a with id "map" and should load/display a google map. Strange thing is that upon push of the button ("load map"), the goggle map only loads for a split second (depending on the spee...

GUnload() a single Google Map

I've got some Javascript/HTML code which displays a variable number of maps dependent on what the user selects. I've worked how to dynamically create multiple maps on a page - that's well documented. However, what I'm not so sure on is... how can I safely destroy a map after it's been created - normally I just leave this to GUnload() t...

Topographical or relief data in Map APIs

Hi I was wondering if anyone knew of any map APIs that offer topographical or relief data? I've had a quick look at Google and Bing APIs, but could find nothing there. Google allow you to view a map as TERRAIN, which means you can see the topography of a map, but I want to be able to get at that data - i.e. if I were to draw a line be...

How to build our own user define

Can we create a user define custom base google map on which we can add our predefine landmark points? Now in application we access google map with original information. Our GPS device returns location of current point with some description such as your vehicle is .. distance away from some xxx location. So can we build to some user d...

Add custom control to Subgurim Maps

Is it possible to add a custom control to the GMap control in the Subgurim library? I see that I can add a GControl with the GMap.AddControl method. I tried to create a custom GControl by implementing a WebControl inheriting from IGControl. Although this compiled and executed nothing was rendered on the map. ...

Google Static Maps Move maps with a finger

I’m downloading maps using Static Maps V2 API then display map on my mobile device, now I would like to move map using my finger and a touch screen on my device. How can I calculate a new center for moved map, knowing previous map center, zoom level and how many pixels map has been moved? ...

Test for availability of Google Maps Flash API

I'm trying to write a test page which a customer can send us to identify whether they can use various parts of our site. Typical support stuff I guess. Anyway, the test for flash is straightforward enough, but can anyone suggest how I might test if they can access the Google Maps API on their browser? Any help appreciated as I have hit...

Open the iPhone map application via link to Google maps with KML as query

How does one force the iPhone map application to open when the link on a web page goes to maps.google.com/?q=http://example.com/mapdata.kml? If I open the map application and specifically put http://example.com/mapdata.kml in the query box, all the data is loaded correctly. But if I use http://maps.google.com/?q=http%3A//example.com/map...

Google Maps: geocode addresses asynchronously, but get their responses in order

I'm trying to plot lines between two or more addresses in Google Maps. The idea is that addresses are in an array (in the order of the route taken), then the array is looped over and geocoded via Google Maps, so I then have an array of co-ordinates: function showRoute(routes) { var points = []; var geocoder = new GClientGeocoder...

How to use map created from MyMap into our application?????

Hi to All, I am creating a custom map into MyMap link on google map for creating our own map with adding various placemark points &/or lines. see http://maps.google.com/maps/ms?ie=UTF&amp;msa=0&amp;msid= 113225627012396411583.000478b8658fde4ac307b Can I use the url getting from crated map into our application to show it programmatical...

Displaying nearby businesses in mapkit

Is it possible to display nearby businesses in mapkit? If not, how else can that be done? Is there a way to display by category - restaurant, retail, museums? Also, I don't think displaying traffic flow is available. Can anyone confirm? ...