Hi,
here's my question again, with additions since I got a response but it
was not completely relevant.

I'm integrating the maps API on *two different pages* of *a given
site*.

One page is in an
- UNLOGGED area

The other is in
-  a LOGGED area ( but Free of charge), to protect people's privacy

since this site is a social network for parents who sign up and fill
out a short profile.

I've tried a number of things to solve the very strange issue at hand,
ie,
-- > the map API works FINE on the unlogged pages,
-- > but I get the message the key has been registered for another
site on the LOGGED pages or no message but just no map..

-- The last key I registered ( among the dozen I tried) is for:
 http://internationalparents.net

so it should cover all directories and pages under that, shoudln't it?

+ Before you suggest answers,
WHAT I TRIED:

1- I tried registering different keys for the different URLs. That
didn't work for LOGGED page.

2- I tried with the same key, with the full google script code on each
page: did n't work for LOGGED page

3- I now just tried with the same key, with only the full Google map
script code on the UNLOGGED version because I saw in a response
someone mentioning loading the same key twice ( on different pages of
a given site) and suggesting that might cause the map not showing up
the other time...

Removing all the script code doesnt work either for the LOGGED page,
so I'll put it back in the way I thought it should be:

IE:
- Google map script code on both pages featuring a map (on the same
site)
- Same key since same domain
- echoing the map parameters ( X and Y coordinates, zoom) in the
LOGGED pages to see if they are accessed: they ARE, there's just no
map showing up. ??

 - Oh, and I have IMAGES of maps for the Aix and Barcelona regions on
those versions of the LOGGED pages, just to look better as I'm demoing
this.  That don't mean it's working there! ;-)
So the link to the LOGGED page below is on purpose to a page
pertaining to Brussels.

-- Here are the URLS:

UNLOGGED:
http://www.internationalparents.net/beta/index_region_unlogged.php

LOGGED:  ( use: 'tomate' and ' coucou' to access, without the quotes)

http://www.internationalparents.net/beta/index_region_logged.php?nom_club2=Bruxelles

The Google maps code is *identical* for both pages, with ,as
mentioned, either the
same key or separate keys, with only the UNLOGGED version working...

Code extract:

   <script src="http://maps.google.com/maps?
file=api&amp;v=2&amp;key='google key'" type="text/javascript">
           </script>
  <script type="text/javascript">
    //<![CDATA[


   var iconBlue = new GIcon();
    iconBlue.image = 'http://labs.google.com/ridefinder/images/
mm_20_blue.png';
    iconBlue.shadow = 'http://labs.google.com/ridefinder/images/
mm_20_shadow.png';
    iconBlue.iconSize = new GSize(12, 20);
    iconBlue.shadowSize = new GSize(22, 20);
    iconBlue.iconAnchor = new GPoint(6, 20);
    iconBlue.infoWindowAnchor = new GPoint(5, 1);


( etc..)

</script>

Use in php/html:

  echo" <div id=\"map\" style=\"width: 292px; height: 265px;overflow:
hidden; clear: both;\"></div>";

Thanks a lot for any insights,
C

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to