class CMaps extends CEngine

^ INDEX

Table of contents

CMaps
MapAdminCreateLayers
MapAdminShow
MapCheckTicket
MapCreateLayers
MapCreatePoint
MapCreateStandardIcon
MapCreateTicket
MapDeletePoint
MapGenerateImage
MapInitialize
MapRecountPointPosition
MapRecreateSlice
MapShow
MapShowPoint

^ Top

CMaps()

absolutengine

Map class for displaying maps

Maps class constructor

^ Top

MapAdminCreateLayers()

Create icon layers for administration purposes

^ Top

MapAdminShow()

Administration of map

^ Top

MapCheckTicket($ticket)

Check authorization ticket for Google maps editing (works as a security feature)

string $ticket authorization ticket

^ Top

MapCreateLayers($layers,$elementID=0)

Create icon layers for public use

layer mixed layer number or "all" for all layers

^ Top

MapCreatePoint($type=1)

Create map point icon on map slice

type new/update: new = 1 (backups original slice), update = 2

^ Top

MapCreateStandardIcon()

Create standard map icon

^ Top

MapCreateTicket()

Create ticket for Google maps editing (works as a security feature)

^ Top

MapDeletePoint()

Delete map point

^ Top

MapGenerateImage($level=3,$x,$y,$slicesx,$slicesy,$pointx,$pointy,$icon)

Generate static map image

icon string icon image to display: icon.png, images/icon.png etc.

^ Top

MapInitialize()

Initialize map (set starting X/Y slice etc.)

^ Top

MapRecountPointPosition($type=0)

Recount map point X,Y position based on icon width/height or title length

mixed $type 0 if title, icon filename if icon

^ Top

MapRecreateSlice()

Recreate map slice / map point icons on map slice

^ Top

MapShow()

Display map (Re-center map on slice X/Y)

slicex number of slice on X axis
slicey number of slice on Y axis
centerx set center to pixel on X axis
centery set center to pixel on Y axis
slices number of slices to display
level zoom level to display (1- small zoom, 3 - large zoom)
sign image to display at central slice

^ Top

MapShowPoint($icon)

Create emphasized point on map

icon string icon image to display: icon.png, images/icon.png etc.

^ Top