google-maps

Google Map Coords escaping - Resolved

This is the problem: 45°38'14.07" How can escape it (Struts action read an XLS that made a string. This string is the param of array in js). Or without escaping.. how can I use it? ...

Retrieving "inactive" infowindow HTML in Google Map

I'm using Google Maps API v2 and Geoxml to produce a map which is retrieving content. It is nice and easy to get to the marker array in a Geoxml instance (instancevar.overlayman.markers) which contains the properties and methods of the markers. What I can't tell is how to get to the string of HTML that appears when the click method on ...

Determine if a string is a valid geographic location

I've got a bunch of "locations" - some are accurate (gaborone, botswana), some are geocodes (40.75,-73.997) and some are completely useless (#siliconcape). I need to find a way to run through the list and determine the City and Country of each string and geocode, and return nulls for the invalid locations. Is there some sort of library/...

How to display route between two point in android?

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 Show A Country Map Using Google Maps API

Can I display a Country's Map passing the country name as parameter to Google Maps API? The display field area is same for all the countries so the zoom level should adjust automatically to fit the corresponding country in. I have tried Using GLatLongBounds but its no good as USA in 800X800 is fine but Japan is a Dot. ...

Google maps and Google earth application

Hello all. I want to develop an application to find the value of a property based on some constants(such as the distance from the shore,the width of the road in frond of the property,the neighborhood that is located to etc) -constants that i will have to insert to that application (i guess with some tool that can make kml files with poin...

Retrieve coords for google map

I have this data... 45°25'02.98" 10°11'30.39", how can retrive Latitude and Longitude to pass at gLatLng? ...

Using google maps without API Keys?

I am developing a cms that will use more than one domain and i have to use only one google map script in my page. Is there a way to use google maps without api key? Otherwise it's not working? ...

Flash google map like http://online.wsj.com

I want to show flash google map as given on below link http://online.wsj.com/public/resources/documents/info-FDICBANKS111609_RETRO.html Can anyone please help me from where can I start? Is there any ready map available like that? ...

How to view Google Maps in "print" mode?

I'm using the Google Maps API v2 and I'd like to be able to print the map the same way as Google does on its Maps page. You can click the little printer icon and it creates a new popup window with the same map but all the unprintable stuff (like the controls) is taken out. I know that they use @media print to achieve that effect when yo...

How can i increase speed for loading of google maps embeded on site?

Are there any javascripts or other method which can decrease loading time of google maps? Google maps are added by iframe code. Update: 12 FEB 2010 Can any jquery plugin be useful for me? ...

Setting marker zIndex in IE

I'm trying to set zIndex to markers, mainly, i want to set all green markers on top. The code below works GREAT in any other browser but IE! I'm checking in the marker is green if it's containing 'st1' in the filename. I'm using mootools so the code is a bit mootools specific, but any javascript help would be appreciated: gmarkers.ea...

Placemark image being stretched on Google Maps API application

Has anyone else experience a custom placemark being vertically stretched and found a solution to it? Example: http://www.mattpotts.com/so-stretched.png And this is the code I have: var blueIcon = new GIcon(G_DEFAULT_ICON); blueIcon.image = "images/beer-24x24.png"; var marker = new GMarker(point, {draggable:true, icon:blueIcon}) ...

How to plot multiple location in google maps using url address?

As title, how to do that? to get the direction of two point we can do like http://maps.google.com/maps?saddr=40.1212,22.333&daddr=40.222,22.333&z=17" then how can i plot multiple location using this method by URL address? ...

Combine Google Maps API & Google Maps Data API

When i embed a map from my maps i use the link that googgle maps provides me This map i can manipulate with Google Maps Data API and Java <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?source=embed&amp;amp;hl=el&amp;amp;geocode=&amp;amp;ie=UTF8&amp;amp...

Google Maps: remember id of marker with open info window

I have a Google map that is showing a number of markers. When the user moves the map, the markers are redrawn for the new boundaries, using the code below: GEvent.addListener(map, "moveend", function() { var newBounds = map.getBounds(); for(var i = 0; i < places_json.places.length ; i++) { // if marker is within the new...

Google Maps Hide marker on polyline

Hey Guys, I'm trying to hide the markers which are given as part of a GDirection polyline (Specifically the start and end one) as we have custom markers which are always at that location. This is what I have tried var gDirections = new GDirections(googleMap); GEvent.addListener(gDirections, "load", changeGColor); function changeGCol...

how to change state of any overlayItem on googlemap?

I am able to display multiple overlayItems on Googlemap, now I want to change icon of any specific overlayItem (to show it is currently selected event). I want to do it through navigation buttons (next, previous) as on Google maps. I am using StateListDrawable to display icons for OverlayItems. Icon file is <?xml version="1.0" encodi...

Android 2.0 SDK map not showing

I'm using IntelliJ IDEA 9 (9.0.1) to create a simple map application (or at least trying to). I'm using Android 2.0 with Google API's 2.0. Manifest: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example"> <application android:icon="@drawable/icon" ...

How to zoom in google map (J2ME)

Hi all, I am trying to develop a J2ME application that could retrieve the google map by passing in the GPS coordinates. From http://wiki.forum.nokia.com/index.php/Google_Maps_API_in_Java_ME, it provides the Utility method for map scrolling. Basically it states that i need to include MicroFloat library in my project. Here's what i d...