Map

{source}
<?php
JHtml::_(’jquery.framework’, false);
$document = JFactory::getDocument();
$document->addStyleSheet(’/media/gmap/map/css/map.css’);
$document->addStyleSheet(’/media/gmap/map/css/jquery-ui.css’);
$document->addScript(’https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY’);
$document->addScript(’/media/gmap/map/js/jquery-ui.min.js’);
$document->addScript(’/media/gmap/map/js/map-data.js’);
$document->addScript(’/media/gmap/map/js/map-logic.js’);
echo ’<div class=”map-container clear”>
<div class=”map-canvas”>
<div id=”gmap-canvas”></div>
</div>
<div class=”map-category”>
<div id=”gmap-filter”>
<div class=”js-loading”>Karttaa ladataan…</div>
</div>
</div>
</div>
’;
?>
{/source}

Map
Scroll to top