Lines Matching +defs:line +defs:width
77 private $width;
103 * @param int $width
128 int $width,
143 $this->width = $width;
246 $resolutionHorizontal = ($bbox ['maxx'] - $bbox ['minx']) / $this->width;
274 [$this->zoom, $this->lat, $this->lon, $this->width, $this->height, serialize($this->markers), $this->maptype, $this->kmlFileName, $this->gpxFileName, $this->geojsonFileName]
360 $this->image = imagecreatetruecolor($this->width, $this->height);
361 $startX = floor($this->centerX - ($this->width / $this->tileSize) / 2);
363 $endX = ceil($this->centerX + ($this->width / $this->tileSize) / 2);
367 $this->offsetX += floor($this->width / 2);
561 ($this->width / 2) -
685 ($this->width / 2) - $this->tileSize * ($this->centerX - $this->lonToTile($p1->x(), $this->zoom))
700 * Draw a line on the map.
702 * @param LineString $line
706 private function drawLineString($line, $colour)
709 for ($p = 1; $p < $line->numGeometries(); $p++) {
711 $p1 = $line->geometryN($p);
712 $p2 = $line->geometryN($p + 1);
715 ($this->width / 2) - $this->tileSize * ($this->centerX - $this->lonToTile($p1->x(), $this->zoom))
721 ($this->width / 2) - $this->tileSize * ($this->centerX - $this->lonToTile($p2->x(), $this->zoom))
744 ($this->width / 2) - $this->tileSize * ($this->centerX - $this->lonToTile($point->x(), $this->zoom))