Stick notes showing locally but not hosted

28 views
Skip to first unread message

boardtc

unread,
Aug 19, 2009, 8:54:52 AM8/19/09
to Google Chart API
I have been playing with the API and have a page which shows fine when
opened locally in a browser but the sticky notes (chst=d_fnote_title)
don't show when on my website, they show as images that can't be
found:
http://boardtc.com/area.html

Sometimes some of them show briefly but when the page is refreshed
they disappear. Saving the page locally and opening form there they
show fine.

Am I going mad?!

Tom.

KeithB

unread,
Aug 19, 2009, 9:22:32 AM8/19/09
to Google Chart API
This has been reported a few times recently. Do a search on "chart"
and "pin" or "pins" within the group for past discussions. I don't
think any of us are doing anything wrong. My best guess is that maybe
the Chart server somehow returns Bad Request for requests that are not
made in the confines of a Google Map (My Maps, Google Maps API, etc.).

I took one of your note URLs and added it to a My Map and it worked
fine. I suspect that you could also create a custom icon within the
Google Maps API and it would also work. Maybe Google is currently
restricting access to "Map pins, sticky notes, information bubbles,
text with outline" charts?

Good luck,
K

Roger Trias Sanz

unread,
Aug 20, 2009, 11:14:21 AM8/20/09
to google-c...@googlegroups.com
Hi, can you try using "http://chart.apis.google.com/chart" instead of
"http://www.google.com/chart" ?
--
*Google Switzerland GmbH - Identifikationsnummer: CH-020.4.028.116-1

***

Roger Trias Sanz

unread,
Aug 20, 2009, 11:17:14 AM8/20/09
to google-c...@googlegroups.com
And if it works, please tell me, so I can update the documentation.
Thanks!

KeithB

unread,
Aug 20, 2009, 4:50:38 PM8/20/09
to Google Chart API
My quick test showed that using chart.apis.google.com instead of
www.google.com does indeed work.

- basic HTML page
- served up by IIS on an XP machine using http://localhost/maps/chartTest.html
- body of the page was:

<img src="http://www.google.com/chart?chst=d_map_pin_letter&chld=A|
FF0000|000000" />

<img src="http://chart.apis.google.com/chart?
chst=d_map_pin_letter&chld=A|FF0000|000000" />

HTTP request for the first image returned a 404 while the second
returned a 200.

Thanks for the help/clarification, Roger!

rogerts

unread,
Aug 21, 2009, 5:53:11 AM8/21/09
to Google Chart API
Thanks all for helping us find this problem! I have just updated the
docs in http://groups.google.com/group/google-chart-api/web/map-pins-sticky-notes-information-bubbles-text-with-outline


On Aug 20, 10:50 pm, KeithB <kbornho...@gmail.com> wrote:
> My quick test showed that usingchart.apis.google.com instead ofwww.google.comdoes indeed work.
>
> - basic HTML page
> - served up by IIS on an XP machine usinghttp://localhost/maps/chartTest.html

boardtc

unread,
Aug 26, 2009, 4:18:57 AM8/26/09
to Google Chart API
Thanks you Roger. I can confirm this worked for me also!

I updated all my charts not just the stickynotes to sue this.

tom.

On Aug 20, 4:14 pm, Roger Trias Sanz <roge...@google.com> wrote:
> Hi, can you try using "http://chart.apis.google.com/chart" instead of
> "http://www.google.com/chart" ?
>
>
>
> On Wed, Aug 19, 2009 at 15:22, KeithB<kbornho...@gmail.com> wrote:
>
> > This has been reported a few times recently. Do a search on "chart"
> > and "pin" or "pins" within the group for past discussions. I don't
> > think any of us are doing anything wrong. My best guess is that maybe
> > the Chart server somehow returns Bad Request for requests that are not
> > made in the confines of a Google Map (My Maps, Google Maps API, etc.).
>
> > I took one of your note URLs and added it to a My Map and it worked
> > fine. I suspect that you could also create a custom icon within the
> > Google Maps API and it would also work. Maybe Google is currently
> > restricting access to "Map pins, stickynotes, information bubbles,

Kevin O'Hare

unread,
Aug 27, 2009, 6:53:09 AM8/27/09
to Google Chart API
Sorry for cross-posting. I just posted in another thread that I had
the
"Unable to connect to server" problem when trying to save changes
I'd made to a map using the API to display numbered pins.

It doesn't appear to make any difference for me if I use
"chart.apis.google.com/chart" or "www.google.com/chart".

Kevin

On Aug 26, 9:18 am, boardtc <boar...@gmail.com> wrote:
> Thanks you Roger. I can confirm this worked for me also!
>
> I updated all my charts not just the stickynotes to sue this.
>
> tom.
>
> On Aug 20, 4:14 pm, Roger Trias Sanz <roge...@google.com> wrote:
>
> > Hi, can you try using "http://chart.apis.google.com/chart" instead of
> > "http://www.google.com/chart" ?
>
> > On Wed, Aug 19, 2009 at 15:22, KeithB<kbornho...@gmail.com> wrote:
>
> > > This has been reported a few times recently. Do a search on "chart"
> > > and "pin" or "pins" within the group for past discussions. I don't
> > > think any of us are doing anything wrong. My best guess is that maybe
> > > the Chart server somehow returns Bad Request for requests that are not
> > > made in the confines of a GoogleMap(My Maps, Google Maps API, etc.).
>
> > > I took one of your note URLs and added it to a MyMapand it worked
> > > fine. I suspect that you could also create a custom icon within the
> > > Google Maps API and it would also work. Maybe Google is currently
> > > restricting access to "Mappins, stickynotes, information bubbles,
Reply all
Reply to author
Forward
0 new messages