Re: Generating KML pages

2012-07-04 Thread Jaime
Try this function beforeFilter() { $this->RequestHandler->setContent('kml', 'text/xml'); // $this->RequestHandler->setContent('kml', 'application/vnd.google-earth.kml+xml'); } On Thursday, September 24, 2009 7:01:18 AM UTC+2, Kyle Decot wrote: > > I am attempting to create KML pages for my site

Generating KML pages

2009-09-23 Thread Kyle Decot
I am attempting to create KML pages for my site but I'm not having any luck. In my routes.php I have: Router::parseExtensions('kml'); I have also created a KML layout at /app/layouts/kml/default.ctp When I go to localhost/my_controller/index.kml though the default layout is being used. How can