PDA

View Full Version : joomla! with shared hosting - google API



tzakuk
2010-09-22, 07:58 PM
Hi. I have joomla installed on shared hosting. I have noticed a number of strange behaviors, and have been able to work around most, but I am having trouble with google maps displaying in articles. I have the latest plugin_googlemap installed, and it worked fine at first. Now maps do not display in articles using:

{mosmap width='500'|height='400'|lat='42.851460'|lon='-72.603106' |zoom='10'|zoomType='Large'|zoomNew='0'|mapType='H ybrid'|showMaptype='1'|overview='0'|text=''|lang=' '}

I have tried the add_p=1 directive, I have tried putting the call to mosmap inside <div> tags. I have deleted and created new articles and menu items. Nothing seems to help.

I am wonderig if this has something to do with shared hosting and my API key. Should the key work if it is associated with www.mydomain.com, or does it need to be associated with system generated URL?

jeremya
2010-09-23, 11:18 AM
I would think your API key should be associated with your domain rather than the system generated URL since that's the active domain when the calls are made.

You can try reinstalling the google map plugin but what error are you receiving?

tzakuk
2010-09-27, 05:00 PM
Thank you so much for getting back to me.

I think you are right about the API key being associated with the domain rather than the server.

I am not getting an error code. The maps simply are not rendering. I have uninstalled the extension and installed an earlier version that I know was working on another host, but I am having the same trouble.

I am going to uninstall and re-install the newer plugin version to see if that helps. I will post if the trouble is resolved, otherwise, if I have not posted, you can assume it is still not working.