Ohloh API Discussion : google map api

If you were to use the GMap API you would just put a empty div in the content manager - and then your javascript in your header. You can even use a little smarty to ensure that the javascript only ... [More] loads on the page you want to have the map on. <{if $xoops_pagetitle|truncate:4 = "the first 4 characters of your unique pagetitle here"}> GMAp API code here <{/if}> you should already have jquery loaded so you don't need to use that part of the Google java script. Just the call to their js library and then your domfunction. Aaron Breckenridge [Less]

over 5 years ago