}
);
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 (
🇵🇱 Comprehensive Polish Geospatial Data Platform
All Polish Layers Implementation Complete! 🎉
This comprehensive map includes all layers from your OpenLayers implementation,
converted to work seamlessly with your Leaflet-based React/Next.js project.
Use the layer control (top-right) to toggle between base layers and enable overlay layers.
Combine orthophoto with cadastral data for detailed property analysis.
{/* Layer Information */}
{/* Base Layers */}
🗺️ Base Layers
Polish Orthophoto (Standard)
High-quality aerial imagery from Polish Geoportal
Polish Orthophoto (High Resolution)
Ultra-high resolution aerial imagery for detailed analysis
OpenStreetMap
Community-driven map data
Google Maps
Satellite imagery and road overlay
{/* Overlay Layers */}
📊 Overlay Layers
📋 Polish Cadastral Data
Property boundaries, parcels, and building outlines
Opacity: 80% - Semi-transparent overlay
🏗️ Polish Spatial Planning
Zoning data and urban planning information
Opacity: 70% - Semi-transparent overlay
🛣️ LP-Portal Roads
Detailed road network data
Opacity: 90% - Mostly opaque for visibility
🏷️ LP-Portal Street Names
Street names and road descriptions
Opacity: 100% - Fully opaque for readability
📐 LP-Portal Parcels & Surveys
Property parcels and survey markers
Opacity: 60-80% - Variable transparency
{/* Transparency Information */}
🎨 Layer Transparency Handling
Base Layers (Opaque):
Polish Orthophoto100% Opaque
Google Satellite/Roads100% Opaque
Overlay Layers (Transparent):
📋 Cadastral Data80% Opacity
🏗️ Spatial Planning70% Opacity
🛣️ Roads90% Opacity
🏷️ Street Names100% Opacity
📐 Parcels60% Opacity
📍 Survey Markers80% Opacity
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.