Lines Matching refs:tileSize
42 private int $tileSize = 256; variable in dokuwiki\\plugin\\openlayersmap\\StaticMap
246 $resolutionVertical = 360 / ($zoomFactorPowered * $this->tileSize);
254 $zoom = log(360 / ($resolution * $this->tileSize), 2);
343 $this->offsetX = floor((floor($this->centerX) - $this->centerX) * $this->tileSize);
344 $this->offsetY = floor((floor($this->centerY) - $this->centerY) * $this->tileSize);
375 $startX = floor($this->centerX - ($this->width / $this->tileSize) / 2);
376 $startY = floor($this->centerY - ($this->height / $this->tileSize) / 2);
377 $endX = ceil($this->centerX + ($this->width / $this->tileSize) / 2);
378 $endY = ceil($this->centerY + ($this->height / $this->tileSize) / 2);
379 $this->offsetX = -floor(($this->centerX - floor($this->centerX)) * $this->tileSize);
380 $this->offsetY = -floor(($this->centerY - floor($this->centerY)) * $this->tileSize);
383 $this->offsetX += floor($startX - floor($this->centerX)) * $this->tileSize;
384 $this->offsetY += floor($startY - floor($this->centerY)) * $this->tileSize;
399 $tileImage = imagecreate($this->tileSize, $this->tileSize);
403 $destX = (int) ($x - $startX) * $this->tileSize + $this->offsetX;
404 $destY = (int) ($y - $startY) * $this->tileSize + $this->offsetY;
405 Logger::debug("imagecopy tile into image: $destX, $destY", $this->tileSize);
413 $this->tileSize,
414 $this->tileSize
590 $this->tileSize * ($this->centerX - $this->lonToTile($markerLon, $this->zoom))
594 $this->tileSize * ($this->centerY - $this->latToTile($markerLat, $this->zoom))
713 … ($this->width / 2) - $this->tileSize * ($this->centerX - $this->lonToTile($p1->x(), $this->zoom))
716 … ($this->height / 2) - $this->tileSize * ($this->centerY - $this->latToTile($p1->y(), $this->zoom))
743 … ($this->width / 2) - $this->tileSize * ($this->centerX - $this->lonToTile($p1->x(), $this->zoom))
746 … ($this->height / 2) - $this->tileSize * ($this->centerY - $this->latToTile($p1->y(), $this->zoom))
749 … ($this->width / 2) - $this->tileSize * ($this->centerX - $this->lonToTile($p2->x(), $this->zoom))
752 … ($this->height / 2) - $this->tileSize * ($this->centerY - $this->latToTile($p2->y(), $this->zoom))
772 …($this->width / 2) - $this->tileSize * ($this->centerX - $this->lonToTile($point->x(), $this->zoom…
775 …($this->height / 2) - $this->tileSize * ($this->centerY - $this->latToTile($point->y(), $this->zoo…