Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
What about the side panel?
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
  Messages 1 - 25 of 51 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
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
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jef Poskanzer  
View profile  
 More options Jun 29 2005, 4:48 pm
From: "Jef Poskanzer" <jef.poskan...@gmail.com>
Date: Wed, 29 Jun 2005 13:48:26 -0700
Local: Wed, Jun 29 2005 4:48 pm
Subject: What about the side panel?
Is there going to be any equivalent of the side panel from the old
_MapsApplication object?

If we have to roll our own version of this using raw JavaScript, then
how about putting some sample code in the (excellent) documentation
page?


 
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.
id.at.w98.dot.us@gmail.co m  
View profile  
 More options Jun 29 2005, 7:11 pm
From: "id.at.w98.dot...@gmail.com" <id.at.w98.dot...@gmail.com>
Date: Wed, 29 Jun 2005 16:11:54 -0700
Local: Wed, Jun 29 2005 7:11 pm
Subject: Re: What about the side panel?
I concur. The side panel was a very useful tool and while I can adapt
my maps to the new API code relatively easily, I'm not as easily going
to be able to create my own side panel whose links will automagically
expand the minipages of my plotted points.

Thanks for any insight.


 
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.
Elyscape  
View profile  
 More options Jun 29 2005, 7:33 pm
From: "Elyscape" <elysc...@gmail.com>
Date: Wed, 29 Jun 2005 16:33:25 -0700
Local: Wed, Jun 29 2005 7:33 pm
Subject: Re: What about the side panel?
While it doesn't seem that said side panel is built in to the GMap
objects, _MapsApplication still exists. Additionally, a
GMapsApplication object has been added. GMapsApplication is simply
another name for _MapsApplication, just as GMap is for _Map. It may
have changed somewhat, but it still exists. A bit of wading through the
source should allow you to figure out how to use it.

 
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.
williamsburger  
View profile  
 More options Jun 29 2005, 8:12 pm
From: "williamsburger" <cfairba...@gmail.com>
Date: Thu, 30 Jun 2005 00:12:42 -0000
Local: Wed, Jun 29 2005 8:12 pm
Subject: Re: What about the side panel?
This ended up being incredibly easy to fix, at least on my site.

I'm sure there's more I could clean up (like using GMapsApplication),
but I replaced this code:

  mapsApplication =
    new _MapsApplication( document.getElementById( "container_frb"),
                          document.getElementById( "panel"),
                          document.getElementById( "metapanel"),
                          document.getElementById( "permalink"),
                          document.getElementById( "toggle"),
                          document.getElementById( "printheader"),
                          createMapSpecs( ) );

with this:

  mapsApplication =
    new _MapsApplication( document.getElementById( "container_frb"),
                          document.getElementById( "panel"),
                          document.getElementById( "metapanel"),
                          document.getElementById( "permalink"),
                          document.getElementById( "printheader"),
                          createMapSpecs( ) );

And all of a sudden, everything worked again!

Basically, the only difference appears to be the removal of the
separate toggle element for the map vs satellite switch.

( Apologies for the less than immediately obvious names of elements; I
swiped this code from http://stuff.rancidbacon.com/gmaps-standalone/ )

Chris
( here's my map page: http://www.williamsburger.com/wb/chinatown )


 
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.
Chris DiBona  
View profile  
 More options Jun 29 2005, 8:26 pm
From: Chris DiBona <cdib...@google.com>
Date: Wed, 29 Jun 2005 17:26:48 -0700
Local: Wed, Jun 29 2005 8:26 pm
Subject: Re: What about the side panel?
It is worth pointing out that if it isn't listed in the doc, then
don't count on it not changing over time. This is why we are
presenting an API layer, so that you folks can create reliable
websites.

Chris

On 6/29/05, Elyscape <elysc...@gmail.com> wrote:

> While it doesn't seem that said side panel is built in to the GMap
> objects, _MapsApplication still exists. Additionally, a
> GMapsApplication object has been added. GMapsApplication is simply
> another name for _MapsApplication, just as GMap is for _Map. It may
> have changed somewhat, but it still exists. A bit of wading through the
> source should allow you to figure out how to use it.

--
Open Source Program Manager, Google Inc.
Google's Open Source program can be found at http://code.google.com
Personal Weblog: http://dibona.com

 
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.
williamsburger  
View profile  
 More options Jun 29 2005, 8:36 pm
From: "williamsburger" <cfairba...@gmail.com>
Date: Thu, 30 Jun 2005 00:36:07 -0000
Local: Wed, Jun 29 2005 8:36 pm
Subject: Re: What about the side panel?
Swapping in GMapsApplication makes everything work just as before.

I hope that Google does decide to present something like
GMapsApplication as part of the official API; it's so extremely useful.
 I'm sure many of us could write our own copy of this, but the
functionality here seems to have such a high reusability potential (and
makes neat applications so easy!) that it'd be a shame to force us to
write our own.


 
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.
Billy  
View profile  
 More options Jun 29 2005, 8:36 pm
From: Billy <billy.girla...@gmail.com>
Date: Wed, 29 Jun 2005 20:36:27 -0400
Local: Wed, Jun 29 2005 8:36 pm
Subject: Re: What about the side panel?
HEADS UP DUDE, YOU'RE BLANK MY END!

On 6/29/05, williamsburger <cfairba...@gmail.com> wrote:

--
www.beachcomputers.biz

Owned & Maintained by Billy.


 
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.
williamsburger  
View profile  
 More options Jun 29 2005, 8:45 pm
From: "williamsburger" <cfairba...@gmail.com>
Date: Thu, 30 Jun 2005 00:45:47 -0000
Local: Wed, Jun 29 2005 8:45 pm
Subject: Re: What about the side panel?
Maybe I should have mentioned I've only bothered to get my maps running
at all on Firefox?  I have div / CSS issues with IE, I'm pretty sure,
and as I'm working on a very low-traffic personal site, and none of my
friends use IE, I haven't bothered to figure it out yet.  Are you
getting blank pages on Firefox?

 
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.
Jef Poskanzer  
View profile  
 More options Jun 30 2005, 12:06 am
From: "Jef Poskanzer" <jef.poskan...@gmail.com>
Date: Wed, 29 Jun 2005 21:06:58 -0700
Local: Thurs, Jun 30 2005 12:06 am
Subject: Re: What about the side panel?
Yeah, I'm reluctant to use GMapsApplication since it isn't documented.

It wouldn't actually be that much JavaScript to add to the "Display
Info Windows Above Markers" example.  In the createMarker function
where it adds a listener to the marker, you'd also add a line of HTML
to the side panel container, with a link whose href does a JavaScript
call to openInfoWindowHtml().

By the way, can someone explain why that example works when the
addListener() call is in a function but stops working right if the call
is inlined?  Does this have something to do with the comment about
"function closures"?


 
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.
Bret Taylor  
View profile  
 More options Jun 30 2005, 2:03 am
From: Bret Taylor <btay...@google.com>
Date: Wed, 29 Jun 2005 23:03:03 -0700
Local: Thurs, Jun 30 2005 2:03 am
Subject: Re: What about the side panel?
Yes, when you create an event handler inline like we do in the
example, it inherits the context of the _function_ in which it was
called, not the values of the variables at the time it was called.
See

http://jibbering.com/faq/faq_notes/closures.html

Basically, if you create event handlers like the example, you should
call a function for each marker so that the value for "marker" is
correct in the event handler.

Bret

On 6/29/05, Jef Poskanzer <jef.poskan...@gmail.com> wrote:


 
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.
Jef Poskanzer  
View profile  
 More options Jun 30 2005, 2:17 am
From: "Jef Poskanzer" <jef.poskan...@gmail.com>
Date: Wed, 29 Jun 2005 23:17:00 -0700
Subject: Re: What about the side panel?

>it inherits the context of the
>_function_ in which it was called, not
>the values of the variables at the
>time it was called.

Yeah, that's what I figured.  I could make a pretty good argument that
this is yet another case of JavaScript being deeply incorrect, but this
is not the right place for that discussion.

 
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.
Discussion subject changed to "What about the side panel? SOLVED" by Jef Poskanzer
Jef Poskanzer  
View profile  
 More options Jun 30 2005, 1:32 pm
From: "Jef Poskanzer" <jef.poskan...@gmail.com>
Date: Thu, 30 Jun 2005 10:32:56 -0700
Local: Thurs, Jun 30 2005 1:32 pm
Subject: Re: What about the side panel? SOLVED
Ok!  I have updated my little sample app to include a working side
panel.  It uses only the current documented API calls.  Check it out:

http://www.acme.com/jef/paris_forts/

If the folks in charge of the documentation page want to add this
technique as an example, feel free.


 
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.
Billy  
View profile  
 More options Jun 30 2005, 5:55 pm
From: Billy <billy.girla...@gmail.com>
Date: Thu, 30 Jun 2005 17:55:57 -0400
Local: Thurs, Jun 30 2005 5:55 pm
Subject: Re: What about the side panel? SOLVED
pretty damn slick Jef, good for you!

On 6/30/05, Jef Poskanzer <jef.poskan...@gmail.com> wrote:

> Ok!  I have updated my little sample app to include a working side
> panel.  It uses only the current documented API calls.  Check it out:

> http://www.acme.com/jef/paris_forts/

> If the folks in charge of the documentation page want to add this
> technique as an example, feel free.

--
www.beachcomputers.biz

Owned & Maintained by Billy.


 
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.
spencer  
View profile  
 More options Jun 30 2005, 6:54 pm
From: "spencer" <goo...@spencerforman.com>
Date: Thu, 30 Jun 2005 15:54:54 -0700
Local: Thurs, Jun 30 2005 6:54 pm
Subject: Re: What about the side panel? SOLVED
Great job Jeff!!!
I've tried to cut and paste your code but with no luck. Would you be
willing to share a quick "how to" with the rest of us on how to get the
shell of your idea up and running?

Much thanks in advance!
spencer


 
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.
CobraSoft@gmail.com  
View profile  
 More options Jul 1 2005, 9:50 am
From: "CobraS...@gmail.com" <CobraS...@gmail.com>
Date: Fri, 01 Jul 2005 13:50:14 -0000
Local: Fri, Jul 1 2005 9:50 am
Subject: Re: What about the side panel? SOLVED
Nice work Jeff! I was able to figure out the code (like it is that
hard) and use it on my site.

Once again, great job, and thanks!
Allen


 
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.
Ed Knittel  
View profile  
 More options Jul 1 2005, 1:14 pm
From: "Ed Knittel" <eknit...@gmail.com>
Date: Fri, 01 Jul 2005 10:14:02 -0700
Local: Fri, Jul 1 2005 1:14 pm
Subject: Re: What about the side panel? SOLVED
Jef...
Exactly what I was looking for!
http://groups-beta.google.com/group/Google-Maps-API/browse_frm/thread...

Although it took a little longer than I had originally thought it came
out quite well I'd say - http://www.keepingyouwell.com/map.asp

Since I'm already pulling from a data-filled XML file, I think any
additional functionality from this point forward will be stuff I'm
already familiar with.

Thanks again!
Ed


 
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.
trancealot@gmail.com  
View profile  
 More options Jul 1 2005, 1:18 pm
From: "trancea...@gmail.com" <trancea...@gmail.com>
Date: Fri, 01 Jul 2005 10:18:03 -0700
Local: Fri, Jul 1 2005 1:18 pm
Subject: Re: What about the side panel? SOLVED
yes thanks jef!  i got a side panel working on my site as well, it
works great.

http://www.seattlecityphotography.com/personal/diving/


 
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.
Discussion subject changed to "What about the side panel?" by Billy
Billy  
View profile  
 More options Jul 2 2005, 10:34 am
From: "Billy" <Billy.Girla...@gmail.com>
Date: Sat, 02 Jul 2005 14:34:15 -0000
Local: Sat, Jul 2 2005 10:34 am
Subject: Re: What about the side panel?
sorry, haven't used FF for a few months, been getting itchy though


 
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.
Discussion subject changed to "What about the side panel? SOLVED" by williamsburger
williamsburger  
View profile  
 More options Jul 2 2005, 11:52 am
From: "williamsburger" <cfairba...@gmail.com>
Date: Sat, 02 Jul 2005 15:52:13 -0000
Local: Sat, Jul 2 2005 11:52 am
Subject: Re: What about the side panel? SOLVED
Thanks from me, too, Jeff; I have a couple of my maps back up on my
site (one at
http://www.williamsburger.com/wb/bedford-ave-williamsburg), and with
this version of the API, it works on both Firefox and IE, while I could
never convince the GMapsApplication code to run under IE.

I decided to ditch the XML files and rebuild my entire platform based
on a couple MySQL DB tables, so the XML part went away for me, and now
mine's all PHP and JavaScript.


 
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.
Brooks Bennett  
View profile  
 More options Jul 2 2005, 12:38 pm
From: "Brooks Bennett" <bro...@highlycontroversial.com>
Date: Sat, 02 Jul 2005 09:38:03 -0700
Local: Sat, Jul 2 2005 12:38 pm
Subject: Re: What about the side panel? SOLVED
Seems like a good idea, but it does not work for those of us who use
Safari on OS X. Anyone else running into this problem?

However, it does work perfectly @
http://maps.google.com/maps?q=hospitals+near+60521&spn=0.072833,0.107...


 
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.
Jef Poskanzer  
View profile  
 More options Jul 2 2005, 12:40 pm
From: "Jef Poskanzer" <jef.poskan...@gmail.com>
Date: Sat, 02 Jul 2005 09:40:31 -0700
Local: Sat, Jul 2 2005 12:40 pm
Subject: Re: What about the side panel? SOLVED

>but it does not work for those of us who use Safari

Yeah, I've heard from others that it doesn't work on Safari.  No idea
why!  Anyone want to help me debug it?

 
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.
Brooks Bennett  
View profile  
 More options Jul 2 2005, 1:28 pm
From: "Brooks Bennett" <bro...@highlycontroversial.com>
Date: Sat, 02 Jul 2005 10:28:52 -0700
Local: Sat, Jul 2 2005 1:28 pm
Subject: Re: What about the side panel? SOLVED
I am not sure if I am qualified, but if I can be of any help, let me
know...

 
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.
Jef Poskanzer  
View profile  
 More options Jul 3 2005, 11:48 am
From: "Jef Poskanzer" <jef.poskan...@gmail.com>
Date: Sun, 03 Jul 2005 08:48:50 -0700
Local: Sun, Jul 3 2005 11:48 am
Subject: Re: What about the side panel? SOLVED
I had a chance to play with my side-panel sample code on Safari
yesterday.  Actually the first thing I did was verify that Google Maps
and Google Local do work on this setup.  Then I looked at my own app,
http://www.acme.com/jef/paris_forts/ - and I noticed two specific
problems.

1) The popup info boxes do not show up, neither from the side panel
links nor from the main map panel markers.  I didn't try the Maps API
doc page's info box examples to see if they work, should have done
that.

2) The accent characters in the side panel show up as literal HTML
entity strings, with the ampersand and semicolon showing.  This is
interesting because to get those accents working in Firefox and MSIE I
had to escape them - in my code I have stuff like ampersand amp
semicolon eacute semicolon.  If I don't escape the accent entities in
Firefox and MSIE, the app doesn't even load.

Anyway, when I get a chance to do a longer debugging session on Safari
and try some more things, I'll post again.


 
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.
Brooks Bennett  
View profile  
 More options Jul 3 2005, 12:10 pm
From: "Brooks Bennett" <bro...@highlycontroversial.com>
Date: Sun, 03 Jul 2005 09:10:42 -0700
Local: Sun, Jul 3 2005 12:10 pm
Subject: Re: What about the side panel? SOLVED
I had similar problems with escape characters. I used the javascript
escape character of backslash to get my stuff working... Maybe that
could help?

I will look at your code a little more today and see if my newbie eyes
catch anything. Thanks for your hard work and dedication. It is a HUGE
help to me.


 
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.
Brooks Bennett  
View profile  
 More options Jul 3 2005, 1:58 pm
From: "Brooks Bennett" <bro...@highlycontroversial.com>
Date: Sun, 03 Jul 2005 10:58:26 -0700
Local: Sun, Jul 3 2005 1:58 pm
Subject: Re: What about the side panel? SOLVED
Ok, I have made some progress, but mind you, I am a goof.

The fix I have so far is odd. I took the function opener

// Open the info box for the specified marker.
function opener( i )
    {
    markers[i].openInfoWindowHtml( infoHtmls[i] );
    }

and simply renamed the function to safari opener:

// Open the info box for the specified marker.
function safariopener( i )
    {
    markers[i].openInfoWindowHtml( infoHtmls[i] );
    }

Then, at the bottom of the page, just before the end body tag I put the
following HTML:

SAFARI LINKS:<br />
<a href="javascript:safariopener(0)">Fort du Mont-Val</a><BR />
<a href="javascript:safariopener(2)" onClick="">Fort d'Issy</a><BR />
<a href="javascript:safariopener(3)">Fort de Vanves</a><BR />

Guess what? They links work great, except they are proceeded by a
broken image icon (but only in Safari).

You can view my current version here:

http://home.actlab.utexas.edu/~brooks/corr/maps/paris_forts.html

Hopefully this will help someone more smart than myself figure out the
problem...


 
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.
Messages 1 - 25 of 51   Newer >
« Back to Discussions « Newer topic     Older topic »