"use client"; import { useState } from 'react'; import ComprehensivePolishMap from '../../components/ui/ComprehensivePolishMap'; export default function ComprehensivePolishMapPage() { const [selectedLocation, setSelectedLocation] = useState('krakow'); // Different locations to test the layers const locations = { krakow: { center: [50.0647, 19.9450], zoom: 14, name: "Kraków", description: "Historic city center with good cadastral data coverage" }, warsaw: { center: [52.2297, 21.0122], zoom: 14, name: "Warszawa", description: "Capital city with extensive planning data" }, gdansk: { center: [54.3520, 18.6466], zoom: 14, name: "Gdańsk", description: "Port city with detailed property boundaries" }, wroclaw: { center: [51.1079, 17.0385], zoom: 14, name: "Wrocław", description: "University city with good orthophoto coverage" }, poznan: { center: [52.4064, 16.9252], zoom: 14, name: "Poznań", description: "Industrial center with road network data" } }; const currentLocation = locations[selectedLocation]; // Test markers for selected location const testMarkers = [ { position: currentLocation.center, popup: `${currentLocation.name} - ${currentLocation.description}` } ]; return (
This comprehensive map includes all layers from your OpenLayers implementation, converted to work seamlessly with your Leaflet-based React/Next.js project.
Current: {currentLocation.description}
Use the layer control (top-right) to toggle between base layers and enable overlay layers. Combine orthophoto with cadastral data for detailed property analysis.
High-quality aerial imagery from Polish Geoportal
Ultra-high resolution aerial imagery for detailed analysis
Community-driven map data
Satellite imagery and road overlay
Property boundaries, parcels, and building outlines
Opacity: 80% - Semi-transparent overlay
Zoning data and urban planning information
Opacity: 70% - Semi-transparent overlay
Detailed road network data
Opacity: 90% - Mostly opaque for visibility
Street names and road descriptions
Opacity: 100% - Fully opaque for readability
Property parcels and survey markers
Opacity: 60-80% - Variable transparency
Smart Transparency: Each overlay layer has been optimized with appropriate transparency levels. Property boundaries are semi-transparent (60-80%) so you can see the underlying imagery, while text labels are fully opaque (100%) for maximum readability.