[Chameleon] Problem with keymap

Inizan, Sebastien (CDS-VPI) SIN at euro.who.int
Thu Jul 21 09:35:25 EDT 2005


I found my problem. I was using the wrong projection in the keymap tag.

-----Original Message-----
From: Inizan, Sebastien (CDS-VPI) [mailto:SIN at who.dk] 
Sent: 20 July 2005 16:03
To: chameleon at lists.maptools.org
Subject: [Chameleon] Problem with keymap


Hi !

For some reasons, I can not manage to display a picture inside the keymap. 

Is there anything I should add in the .phtml file ? When I make my own
.phtml and use a template from the samples, it does not work neither.  

Here is my .phtml:

<?php
/*
 * this is a sample of a minimal application script required to
 * get a chameleon application running with a template and a
 * local map file.  Most applications should actually just
 * copy this file and modify the template and mapfile
 * parts and should not need to do a lot more here.
 */
include( "C:\ms4w\apps\chameleon\htdocs\chameleon.php" );


$szTemplate = "./sample_basic.html";
$szMapFile = "../map/euro.map";

class SampleApp extends Chameleon
{
  function SampleApp()
  {
    parent::Chameleon();
    $this->moMapSession = new MapSession_RW;
    $this->moMapSession->setTempDir( getSessionSavePath());
  }
}

$oApp =  new SampleApp();
$oApp->registerSkin( 'skins/sample' );
$oApp->CWCInitialize( $szTemplate, $szMapFile  );
$oApp->CWCExecute();
?>



_______________________________________________
Chameleon mailing list
Chameleon at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon


More information about the Chameleon mailing list