Loading...
 
How to use Views
 deprecated and last code finally killed in Tiki15

Maps have been supported in Tiki since 2003 (which is why some call it a GeoCMS). There is geo-related info in various places (users, trackers, image galleries, articles, blog posts, etc.). This was originally done using MapServer, an active and powerful FLOSS mapping solution. However, it requires a dedicated server and more importantly, access to map data (which is not easy). MapServer in Tiki was not maintained since 2004. This likely was influenced by the fact, that Maps integration in Tiki over times moved to GoogleMaps (GMap) in favor to MapServer. Further on we moved from GMap to OpenLayers / OpenStreetMap, which is the base for Map integration in Tiki ever since.

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

Table of Contents

Working with Views

Please read the documentation of the Mapserver and read the Maps Mapfile Tutorial if you need to learn the basics of a Mapfile.

Creating Views

Specifing the View

The VIEW must be used as VIEW1,VIEW2,VIEW(n)...VIEW30. Followed by a location id/location name and the extents in double qoutes.

VIEW1 "location id,  "
VIEW2 "location id,  "
VIEW3 "location id,  "
...
...
VIEW30 "location id,  "

Set View Extents

Get the map extents for the view you want to display and set the minx, miny, maxx, maxy values inside the double qoutes " " separated by coma ','.

VIEW1 "location id,minx,miny,maxx,maxy"

Adding in the Views

A Mapfile contains a WEB object. Inside the WEB object the METADATA keyword can be used to store your views and close it with an END. You can have up to a maximum of 30 views.

#
# Start of web interface definition
#
WEB
  ...
  ....
  .....
  METADATA
    VIEW1 "location id,minx,miny,maxx,maxy"
    VIEW2 "location id,minx,miny,maxx,maxy"
    VIEW3 "location id,minx,miny,maxx,maxy"
    ....
    ...
    VIEW30 "location id,minx,miny,maxx,maxy"
  END
  ....
  ...
  
END



Created by na. Last Modification: Friday 26 July, 2019 12:28:36 GMT-0000 by Yves Kipondo.

doc.tiki.org

Get Started

Admin Guide User Guide

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
Articles and Submissions
Backlinks
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution
Cookie
Copyright
Credit
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
Draw
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)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Mail-in
Map with Mapserver
Menu
Meta Elements
Mobile Tiki and Voice Tiki
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
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags
Task
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Tiki Manager
Trackers
Transitions
User Administration including registration and banning
User Files
User Menu
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC

Tiki Newsletter

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