google-maps

Google Maps API not working (help!)

When I click to the embedded Google Maps API of the following Web Page: http://ada.kiexpro.com/html/list.html (click 地圖 at the top-right corner). It displays: This web site needs a different Google Map API key. A new key can be generted at http://code.google.com/apis/maps/. Sorry but I've never used this application before. Do...

can't add a custom marker to Google maps ( JS )

Hi, Was wondering, how do I add a custom marker to google maps, JavaScript, integrated into my site. This code adds a regular marker: var marker = new GMarker(center); map.addOverlay(marker); but where do I insert an image tag (say, "marker.png" ) for it to appear instead of the regular google marker? Thanks! ...

Adding multiple pins to Google Maps by UK post code

Hi all My Google search skills are failing me today. I can add one pin to a Google map using a UK post code. But I can't find how to add multiple pins from a selection of say 100 post codes. All help apprecaited! ...

Android: failing in cmd when locating debug.keystore, what is the problem!?

Hi there, I'm trying to generate the MD5 fingerprint from the debug.keystore file using keytool.exe in my jdk so I can use google maps in my android project. I've located the keystore file and have moved it into C:\android just to make things easier. Then in command I type c:\Program Files\Java\jdk1.5.0_13\bin>keytool -list -alias and...

Android app google maps showing grey tiles and not map!

Hi, I followed this guide here perfectly and have gone through it again but when I run the program on my google avd the page loads but only grey tiles appear and it doesn't show a map which it should. Does anyone have any ideas? Thanks ...

RoR - Polyline in GoogleMaps

I'm using Ym4r and want to add a polyline to my map. This works: polyline = GPolyline.new([[27.4037755983,89.4263076782],[27.5155793659,89.3245124817]],"#ff0000",3,1.0) @map.record_init @map.add_overlay(polyline) But this doesn't: polystring = "[27.4037755983,89.4263076782],[27.5155793659,89.3245124817]" polyline = GPolyline.new([po...

How to extract Geographic data from open street map or Google maps

Hi, i need to retrieve all the city names from a specific country using openstreet map or google maps. is there any API available? or is there any other way of getting this world geographic data? Cheers ...

How to display a route between two geocoords in google maps? (Android)

Hi guys, I'm just writing an App for displaying the route between two coords (lat, long) in google maps view. Displaying an single coord (even with a marker) works fine, but how to do this with 2 ones and the route between them? I must admit that I'm quite new to Android and the maps-API... ...

Need to find latitude and longitude of postcodes and store into my database

Hey guys, Ive got a database full of UK Postcodes, now i'd like to be able to store the latitude and longitude of these specific postcodes along with the record with the database. Is there anyway that i can obtain this data free without violating any T&C's? I know i could do this using google maps api for each postcode, but i have wa...

Google Maps: marker icons are multi-drawing over same location, why?

I'm using Google Maps and have the map set to height/width=100%. I noticed that when I resize the browser window, my map marker icons appear to redraw on top of the same location. Meaning, if I should only have 1 map marker icon on "987 Main St", when I resize the browser window - multiple map marker icons are being now draw on top of ...

Google Maps iPhone API Terrain View

We're using MapKit on an iPhone app to display a Google Map with terrain view. However, the terrain view only shows when the user has an active Internet connection, the moment the user's Internet is off, the terrain on the map disappears and it appears flat. Is there any way to keep the terrain view on even when the user isn't on an act...

Google's Geocoder returns wrong country

Hi I'm using Google's Geocoder to find lat lng coordinates for a given address. var geocoder = new google.maps.Geocoder(); geocoder.geocode( { 'address': address, 'region': 'uk' }, function(results, status) { if(status == google.maps.GeocoderStatus.OK) { lat: results[0].geometry.lo...

Google maps and pdf

Hello, Programaticly, I need to include a google Maps map to automaticly generated pdf files. For this, I need to convert the map into some image format (jpg, png etc). How can it be done ? I am using Python and Django if build in google maps library is not sufficient. Thanks ...

Convert long/lat to pixel x/y on a given picure.

I have a city "map" (for example - Moscow). She in accuracy repeats the contours the given city in google maps (that is it is copied from google maps and it is a little processed, but the sense remained the same). Also I have object co-ordinates in a city (in geographic coordinates). Problem: how to convert geographic coordinates to ...

Google Maps API v3... non-mobile?

I'm trying to make a Google Maps widget for my website but all of the examples are for full-screen mobile devices. The tutorials work when I copy paste them exactly as shown but they don't seem to work when I want them to only occupy a portion of the page. From what I've read, the v3 is the best API yet (for what I need) because of its ...

Common Mercator Projection formulas for Google Maps not working correctly

I am building a Tile Overlay server for Google maps in C#, and have found a few different code examples for calculating Y from Latitude. After getting them to work in general, I started to notice certain cases where the overlays were not lining up properly. To test this, I made a test harness to compare Google Map's Mercator LatToY con...

Draw multiple circles in Google Maps

Hi. I want to draw multiple circles on a map, using the Google Maps API anj jQuery. The following code works as long as the line with drawMapCircle() is commented out (The markers are positioned correctly). What's wrong with my code? $.getJSON( "ajax/show.php", function(data) { $.each(data.points, function(i, poin...

How to clear results on googleBar gmap with javascript?

i am using googleBar on my gmap application, after i manipulate the results of the search i want to clear the results of the search, but without using the clear results button. i want to clear the results with from my JavaScript function. how can i do that? ...

What parameters should I use in a Google Maps URL to go to a lat-lon?

I would like to produce a url for Google Maps that goes to a specific latitude and longitude. Now, I generate a url such as this: http://maps.google.com/maps?z=11&t=k&q=58 41.881N 152 31.324W The resulting map comes up with a round "A" balloon pointer, which seems to point to the nearest named object, and a green arrow, which p...

Launching Google Maps Directions via an intent on Android

My app needs to show Google Maps directions from A to B, but I don't want to put the Google Maps into my application - instead, I want to launch it using an Intent. Is this possible? If yes, how? ...