Google Groups Home
Help | Sign in
what is the diferent between openInfoWindow and openInfoWindowHtml ?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
rollenc@gmail.com  
View profile
 More options Dec 21 2006, 11:47 pm
From: "roll...@gmail.com" <roll...@gmail.com>
Date: Fri, 22 Dec 2006 04:47:29 -0000
Local: Thurs, Dec 21 2006 11:47 pm
Subject: what is the diferent between openInfoWindow and openInfoWindowHtml ?
  I am reading it:

Opens the map info window over the icon of the marker. The content of
the info window is given as a DOM node. Only option
GInfoWindowOptions.maxWidth is applicable.

Opens the map info window over the icon of the marker. The content of
the info window is given as a string that contains HTML text. Only
option GInfoWindowOptions.maxWidth is applicable.

Ye, I know the deferent between DOM node and HTML text. but this is an
encapsulation in maps API. As a user, is there another different
between them ?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Williams  
View profile
 More options Dec 22 2006, 12:27 am
From: Mike Williams <nos...@econym.demon.co.uk>
Date: Fri, 22 Dec 2006 05:27:38 +0000
Local: Fri, Dec 22 2006 12:27 am
Subject: Re: what is the diferent between openInfoWindow and openInfoWindowHtml ?
In recent versions, openInfoWindowHtml and openInfoWindow are
implemented by exactly the same piece of code.

The code now checks the content parameter and if it has "typeof string"
it creates a new <div> node to contain that string and uses that new
node. If the content doesn't have "typeof string" then it assumes that
it is a node.

The processing of the other parameters is identical.

The same also applies for openInfoWindowTabs and openInfoWindowTabsHtml.

--
The Blackpool Community Church Javascript Team
http://www.econym.demon.co.uk/googlemaps/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rollenc@gmail.com  
View profile
 More options Dec 22 2006, 9:14 pm
From: "roll...@gmail.com" <roll...@gmail.com>
Date: Sat, 23 Dec 2006 02:14:02 -0000
Local: Fri, Dec 22 2006 9:14 pm
Subject: Re: what is the diferent between openInfoWindow and openInfoWindowHtml ?
Ye, I knew the diferent, And, there is no different in recent versions,
but maybe in furture version.
It is that means that I can exchange openInfoWindowHtml with
openInfoWindow in furture version, but suggested correct using for
furture, isn't it?

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google