0
Welcome Guest! Login
0 items Join Now

How to put a mapquest or google map in joomla

    • Anonymous's Avatar

    How to put a mapquest or google map in joomla

    Posted 18 years 8 months ago
    • Hello for a site im building I need to put either a mapquest map or google map in the site. www.google.com/apis/maps/ or mapquest. How would I do it. Is there a joomla component/module that does this.
    • Yves's Avatar
    • Yves
    • Preeminent Rocketeer
    • Posts: 9214
    • Thanks: 5

    Re: How to put a mapquest or google map in joomla

    Posted 18 years 8 months ago
    • Anonymous's Avatar

    Re: How to put a mapquest or google map in joomla

    Posted 18 years 8 months ago
    • Thanks Yves!
      I got it but its stuck on loading map.
      Idk it is very confusing.
      Has anyone done this?
      Or has any insite on it!







      Yves Gabioud = The Man
    • Last Edit: 18 years 8 months ago by .
    • Joe K's Avatar
    • Joe K
    • Elite Rocketeer
    • Posts: 902
    • Thanks: 0

    Re: How to put a mapquest or google map in joomla

    Posted 18 years 8 months ago
    • I have got it to work a few times.

      joomlajoy.com/site2/index.php?option=com_google_maps&Itemid=40

      lockelakevacation.com/index.php?option=c...oogle_maps&Itemid=68

      lockelakecolony.com/index.php?option=com_google_maps&Itemid=75

      I can try and help of you like.

      People usually get hung up on the following:

      # 1 Set The DOCTYPE and style info from the API documentation:

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd ">
      <html xmlns=" www.w3.org/1999/xhtml " xmlns:v="urn:schemas-microsoft-com:vml">

      This needs to be the doc type on your index.php file (I just repaced the existing one in each case. (Always make a back up of the original index.php in case you goof like me)

      #2 Modify the body tag

      <body <?php if ($option=='com_google_maps') { echo 'onload="initMap()" onunload="GUnload()"'; } ?> >

      This needs to be added to the body tag which can be very confusing if there is already a body tag calling all kinds of things.

      If you have trouble with either of these you can email me or post here and we can make the changes for you.

      Joe

      This email address is being protected from spambots. You need JavaScript enabled to view it.


      You can download the latest version of google map here:

      forge.joomla.org/sf/frs/do/downloadFile/...aps_2_5/frs6181?dl=1
    • Last Edit: 18 years 8 months ago by .
    • cookbook's Avatar

    Re: How to put a mapquest or google map in joomla

    Posted 18 years 6 months ago
    • Thanks Joe,

      I see on the latest version of the Google Map API Component you no longer have to add the body tag... but i am still trying to get it to work with geosync... its definately a template thing (it works with the solarflare template, even thought the doctype and styles are not changed... when i check out the forums at the components home page it seems every time the loading map problem occurs it has to do with menuing systems...

      I am unable to isolate this problem :-\, any ideas?

      Henry
  • Re: How to put a mapquest or google map in joomla

    Posted 18 years 3 months ago
    • I am seeing a problem under IE7 with Google Maps in the ModernBusiness template. Trying to debug. It also seems related to the menu system. Turned off all of the Java Script features for the top menu, and now I think I can detect that the (left) menu is causing graphics to blank out (google map, and some other graphics generated by MooFX) immediately after loading. Similar question is posted in ModBiz forum (IE7 only). B.

Time to create page: 0.049 seconds