<?php

class Map extends Model
{
  var $Width;
  var $Height;
  var $Pos;
  var $Zoom;
  var $Path;
  var $Key;

  function __construct(Core $System)
  {
    parent::__construct($System);
    $this->Path = array();
    $this->Key = '';
    $this->Zoom = 1;
    $this->Width = 300;
    $this->Height = 200;
  }

  function Geolocate($Text)
  {
    return null;
  }

  function Show()
  {
    return '';
  }

  function Parse(&$Text, $Start, $End)
  {
    $Text = substr($Text, strpos($Text, $Start) + strlen($Start));
    $Result = substr($Text, 0, strpos($Text, $End) - 1);
    $Text = substr($Text, strlen($End));
    return $Result;
  }
}


