"I opened both sites and got the massge that the page www.techniglass.pl needs its own api-key."
Hmmm... That strange. I have tested this site from few computers in few locations, and it never ask about API keys... EDIT: Techniglass site is using multiple domains, and I used a script (from google as I remember...) that was replacing the API when page was loaded... It's strange, because: 1) It was using proper APIkey for each domain 2) It was working from different computers (APIkey, not the direction finder) 3) After removing the script, map works fine (it shows the direction) but only for the one domain... So now I have few new questions - - Why API was working only for few computers? - Why this script was blocking direction-finding utility? - What can I do to use this map for multiple domains? The script I was using on the contact page: <script type="text/javascript">// <![CDATA[ document.write([ '<script src="http://maps.google.com/maps? file=api&v=2&key=', { 'techniglass.pl': 'ABQIAAAA_rest_of_api_key_1', 'techniglas.pl': 'ABQIAAAA_rest_of_api_key_2', 'techniglass.com.pl': 'ABQIAAAA_rest_of_api_key_3', 'techniglas.com.pl': 'ABQIAAAA_rest_of_api_key_4' }[window.location.host], '" mce_src="http://maps.google.com/maps?file=api&v=2&key=', { 'techniglass.pl': 'apikey1', 'techniglas.pl': 'apikey2', 'techniglass.com.pl': 'apikey3', 'techniglas.com.pl': 'apikeyN' }[window.location.host], '" type="text/javascript"><\/script>' ].join('')); // ]]></script> Anyway, the map is now working, so THANKS FOR YOUR HELP! -- 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.
