"use client"; import dynamic from 'next/dynamic'; const PolishOrthophotoMap = dynamic( () => import('../../components/ui/PolishOrthophotoMap'), { ssr: false, loading: () =>
Loading map...
} ); export default function TestPolishOrthophotoPage() { // Test markers - various locations in Poland const testMarkers = [ { position: [50.0647, 19.9450], // Krakow popup: "Kraków - Main Market Square" }, { position: [52.2297, 21.0122], // Warsaw popup: "Warszawa - Palace of Culture and Science" }, { position: [54.3520, 18.6466], // Gdansk popup: "Gdańsk - Old Town" } ]; return (

Polish Geoportal Orthophoto Map Test

Interactive Map with Polish Orthophoto

This map demonstrates working Polish Geoportal orthophoto tiles. Use the layer control (top-right) to switch between different map layers.

Map Layers Available:

  • Polish Geoportal Orthophoto: High-resolution aerial imagery from Polish Geoportal
  • OpenStreetMap: Standard OpenStreetMap tiles
  • Google Satellite: Google satellite imagery
  • Google Roads: Google road overlay
  • Esri Satellite: Esri world imagery

Implementation Notes:

• The Polish Geoportal orthophoto uses REST tile service instead of WMTS for better compatibility

• Tile size is set to 512px with zoomOffset=-1 for proper tile alignment

• proj4 library is included for coordinate system transformations (EPSG:2180)

• Multiple fallback layers are provided for comparison and reliability

); }