Loading...
 

 deprecated and killed


In Tiki 7 we started to move from GoogleMaps (GMap) to OpenStreetMaps, respectively OpenLayers, which offers a GoogleMap layer. Latest since Tiki 13 we are using only OpenLayer (OpenStreetMap) and step b step remove(d) ll code from old MaServer and GMap.

Please visit the following pages, if you want to use Maps in Tiki:
OpenLayers, Maps, PluginMaps

Please mind: This page stays here only for historic reasons and to guide to Tiki’s OpenLayers page



Google Map Details


There are some improvements made to Tiki to take advantage of Google Maps.

Geolocation of Tracker items

(for Tiki version 1.10)

Items in a tracker can be geolocated:

Image


Panoramio

Other similar features (which also Google Maps) could be introduced in your Tiki installation.

For instance, Panoramio, a photo-sharing community using Google Maps (“Discover the world through satellite photos” - http://www.panoramio.com).

Image


This kind of simple feature could included through creating and using those two files in your tiki installation:

tiki-panoramio.php
<?php
include 'tiki-setup.php';

$default_lon = '2.338';
$default_lat = '48.89';
$default_zoom = '3';
$default_kind = '2';

if (isset($_REQUEST['lon'])) { $lon = preg_replace('/[^0-9\.-]/','',$_REQUEST['lon']); }
else { $lon = $default_lon; }
if (isset($_REQUEST['lat'])) { $lat = preg_replace('/[^0-9\.-]/','',$_REQUEST['lat']); }
else { $lat = $default_lat; }
if (isset($_REQUEST['zoom'])) { $zoom = preg_replace('/[^0-9]/','',$_REQUEST['zoom']); }
else { $zoom = $default_zoom; }
if (isset($_REQUEST['kind'])) { $kind = preg_replace('/[^0-9]/','',$_REQUEST['kind']); }
else { $kind = $default_kind; }

$smarty->assign('lon',$lon);
$smarty->assign('lat',$lat);
$smarty->assign('zoom',$zoom);
$smarty->assign('kind',$kind);

$smarty->assign('mid','tiki-panoramio.tpl');
$smarty->display('tiki.tpl');
?>


templates/tiki-panoramio.tpl
<form>
<input type="text" name="lat" value="{$lat}" size="8" />
<input type="text" name="lon" value="{$lon}" size="8" />
<input type="text" name="zoom" value="{$zoom}" size="2" />
<input type="text" name="kind" value="{$kind}" size="2" />
<input type="submit" name="act" value="{tr}send{/tr}" />
</form>
<div>Map is grabbed with panoramio plugin.</div>
<iframe src=http://www.panoramio.com/plugin.php?lt={$lat}&amp;ln={$lon}&amp;z={$zoom}&amp;k={$kind}
width="100%" height="600px" border="0" style="border:0;"></iframe>


Technical details

This implementation uses v2 of the google map API, documented on http://www.google.com/apis/maps/documentation/reference.html

Related pages

doc.tiki.org


Bootstrap

AdminGuide

UserGuide

Keywords

Keywords serve as “hubs” for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting (7.x)
Articles and Submissions
Backlinks
Banners
Batch (6.x)
BigBlueButton audio/video/chat/screensharing (5.x)
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution (2.x)
Cookie
Copyright
Credit (6.x)
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs 8.x
Draw 7.x
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management (4.x)
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links (3.x)
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags (2.x)
Task
Tell a Friend, alert + Social Bookmarking
TikiTests (2.x)
Theme CSS & Smarty
Trackers
Transitions (5.x)
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
WebDAV (5.x)
Webmail
Web Services
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval (2.x)
Wiki Plugin extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG (2.x)
XMLRPC


Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki
Show php error messages