kal-mc Posted July 7, 2009 Posted July 7, 2009 hi, have been trying unsuccessfully all morning to get a google map onto my contact us page (Rydens School) i have tried plug-ins and html modules, but it just shifts the page around and doesnt put a map in. I found an article with instructions on how to replace the contacts image with a google map, but it was from 2006 for 1.0. can anyone point me in the right direction? thanks!
SC-UK Posted July 7, 2009 Posted July 7, 2009 I'm sure you might have tried this but if you click on the Link button on the google maps website (once you have it displaying your area) - it will take you to a screen to generate HTML code to inject into your site. Works for my sites anyway. Tom
apoth0r Posted July 7, 2009 Posted July 7, 2009 Paul Bingham Something like that? You have to use a module and an api. Not entirely sure which one I used for that site, will let you know asap.
apoth0r Posted July 7, 2009 Posted July 7, 2009 plugin_googlemap2 is all i can really see. I'm pretty sure i took one of them from the Joomla Extensions directory Home - Joomla! Extensions Directory Was a long time ago, will keep digging
kal-mc Posted July 7, 2009 Author Posted July 7, 2009 thats the one i was using earlier How to add a Google Map to your Joomla website i followed everything fine, but i got stuck on the plugin code ----------------------------------------- Plugin Code The map at the top of the page was created by adding in the following code, using the coordinates for Times Square. I have removed the {...} which need to surround the entire section otherwise it would post a map. The paragraphs I have added for formatting reasons also need to be removed. The code can be posted anywhere in the body of your html and once inserted will show up as a map on your page. The whole process is very simple. mosmap width='500'|height='400'|lat='40.75671'|lon='-73.98646'|zoom='3'| zoomType='Large'|zoomNew='3'|mapType='map'| showMaptype='1'| overview='1'|text='Good web practices'|lang='' The code is fairly self explanatory in terms of customisation, but a full breakdown of the different parameters can be found here. The best idea is to play with each of the values and reload the map to see how they effect it. There is alot of detailed information on how to add more features to your map, such as directions and route plans on the developer's site which can be found here. ----------------------------------------- I put the code into a html module but couldn't follow how to edit it after I put my longditude and latitude in. I entered it into the html editor part, but it wasnt recognised as code and just displayed the text
mossj Posted July 7, 2009 Posted July 7, 2009 (edited) make sure your plug in is enabled This is the code I use for my map here - Ashlawn School And Science College - Map {mosmap width='100%'|height='400px'|lat='52.35743'|lon='-1.231241'|zoom='15'|zoomType='Large'|showScale='0'|zoomNew='1'|mapType='Hybrid'|showMaptype='0'|overview='0'|text='Ashlawn School & Science College, Ashlawn Road, Rugby, Warwickshire, CV22 5ET'|tooltip='tooltip'} Make sure you put it in the html code editor and not the wysiwyg editor Edited July 7, 2009 by mossj
Edu-IT Posted July 7, 2009 Posted July 7, 2009 I use YOOmaps to do just this. It's not free though! Some useful Joomla tools on their site if you don't mind paying. YOOtools? - Joomla!? Extensions - YOOmaps
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now