Do not use on any
shared computer
August 29, 2008 08:16pm pdt
 
[x]
Attachment Details

Omit InfoWindow in embedded Google Map

Tags: Google Maps
I am embedding a Google Map on an html page using an iframe as copied from "Link to this page" on the desired Google Map.  The map on my page opens with the InfoWindow bubble obscuring a significant part of the map.  How can I cause it to open without the InfoWindow?

Using "Link to this page"/"Customize and preview embedded map",  I can set the map size and zoom I want, and those specifications are reflected in the parameters of the resulting URL.  Closing the InfoWindow does not seem to be reflected in any parameter.  The best parameter list I can find is <http://mapki.com/wiki/Google_Map_Parameters>, which may be out of date (I can't get the InfoWindow Display (iwd) parameter to work).

I don't believe using the Google Map API is an option for me as its Terms of Use require updates to the API to be tracked, and I will be turning over the designed Web site to my customer upon its completion.  They would not be happy if it stopped working after six months.

Thanks.
Start your free trial to view this solution
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

Question Stats
Zone: Internet
Question Asked By: DCraft99
Solution Provided By: rweil
Participating Experts: 1
Solution Grade: A
Views: 71
Translate:
Loading Advertisement...
 
[+][-]Expert Comment by rweil
Expert Comment by rweil:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by DCraft99
Author Comment by DCraft99:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Accepted Solution by rweil
Accepted Solution by rweil:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by DCraft99
Author Comment by DCraft99:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Open Discussion
Open Discussion
 
Comment by rweil
>> The locations for a particular latitude and longitude actually show up several hundred yards apart in GoogleMaps API access and  GoogleMaps).

Is this true for all addresses?

If you are feeding it the address it is probably caused by someone moving the marker.  See http://maps.google.com/support/bin/answer.py?answer=68474&query=move+marker&topic=&type=#modify

If you are feeding it the address it might be caused by different base data/algorithms for translating house number to distance along a street.

I wonder if that is caused by each system using different datum? For an example of the difference  see:  http://www.adaweb.net/devserv/survey/verifica/thirteen.htm   - doubt it, but compare the amount of shift caused by datum change. See lower corner of USGS topgraphic quad for the area.

I wonder if it is caused by different registration of the mapping to the aerial photography? I have noticed that streets that used to be missed aligned with the aerial photography are better aligned.

Not only that, but as they update their mapping the picture under the lat/log might change.
 
 
Comment by DCraft99
>> The locations for a particular latitude and longitude actually show up several hundred yards apart in GoogleMaps API access and  GoogleMaps).
>
> Is this true for all addresses?
>
> If you are feeding it the address it is probably caused by someone moving the marker.

I am specifying latitude and longitude, so it's neither the geocoding (mapping from address to lat/long) nor someone moving an address marker.  I really am trying to avoid as many possibly-error-inducing components as I can!

I suspect it's a registration issue, but also wonder about precision.  How precise is lat/long given by hours to six decimal places?  I can't imagine them choosing a standard too imprecise for the intended use, but do notice many of the differences in the thirteen.htm you reference are several decimal places down in the seconds.  Anyway, that's curiosity.  

Practically, mapping of lat/long differing by several hundred yards on the two systems puts my customer's site half way down the next block, which is not acceptable.  I will manually enter the correction for my customer's address so it's correct at Google Maps (when looked up by address), but that won't affect the embedded map marker location (which is specified by lat/long).

> Not only that, but as they update their mapping the picture under the lat/log might change.

What I meant by "yech; problematic as they improve their mapping" is that any compensation I make for the discrepency will backfire as their lat/long locating improves.  If there are registration problems, they're going to have this issue anyway (with all the address locations people have "corrected") as they improve registration, though they could update algorithmically their database of corrections to reflect the new locating with each improvement.

Sigh.  I am so far past the three hours I had allocated for this task :-).
 
 
Comment by rweil
Apparently a known bug, I mean feature  :-)       Google says

Why does the API Geocoder provide different locations than Google Maps?

The API geocoder and Google Maps geocoder rely on two different data sources. This is because the API tiles use a different data source than the main Google Maps, and we wanted to make sure the points returned from the geocoder would match up with the tiles displayed. The API geocoder occasionally gets updated with new data, so you can expect to see results changing or improving over time.
See http://code.google.com/support/bin/answer.py?answer=60738

I think what that means is that you need to Geocode (determine lat/long) in the same system (API or Maps) that you plan to use for display. i.e. you can not use maps.Google.com to determine lat/long to be used in the API,  

Sigh
 
 
20080723-EE-VQP-34 / EE_QW_2_20070628