Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/MAP_TYPES.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,6 @@ In addition to base map types, OpenMapView supports **tile overlays** that rende

- **OpenSeaMap**: Nautical charts (buoys, depth contours)
- **OpenRailwayMap**: Railway infrastructure
- **OpenFireMap**: Fire stations, hydrants
- **OpenSnowMap**: Ski pistes, lifts
- **Waymarked Trails**: Hiking, cycling, MTB, skating trails
- **Stamen Overlays**: Labels, terrain lines
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ package de.afarber.openmapview
* public tile overlay services.
*
* These providers offer various overlay types including weather, transportation,
* outdoor activities, maritime, and emergency services data.
* outdoor activities and maritime data.
*
* Example usage:
* ```kotlin
Expand All @@ -30,8 +30,7 @@ package de.afarber.openmapview
* ```
*
* All providers use 256×256 pixel tiles with Web Mercator projection (EPSG:3857).
* See docs/TILE_OVERLAYS.md for detailed information about each service including
* attribution requirements, usage policies, and content descriptions.
* See the "Tile Overlays" section of docs/MAP_TYPES.md for the available services.
*/
object PredefinedTileProviders {
/**
Expand All @@ -58,17 +57,6 @@ object PredefinedTileProviders {
*/
fun openRailwayMap(): TileProvider = object : UrlTileProvider("https://a.tiles.openrailwaymap.org/standard/{z}/{x}/{y}.png") {}

/**
* Creates a provider for OpenFireMap emergency services overlay.
*
* Content: Fire stations, fire hydrants, ambulance stations, hospitals
* Zoom levels: 0-18
* Attribution: "Map data © OpenStreetMap contributors, Emergency data © OpenFireMap"
*
* @return TileProvider for OpenFireMap
*/
fun openFireMap(): TileProvider = object : UrlTileProvider("http://openfiremap.org/hytiles/{z}/{x}/{y}.png") {}

/**
* Creates a provider for OpenSnowMap winter sports overlay.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class PredefinedTileProvidersTest {
mapOf(
PredefinedTileProviders.openSeaMap() to "https://tiles.openseamap.org/seamark/3/1/2.png",
PredefinedTileProviders.openRailwayMap() to "https://a.tiles.openrailwaymap.org/standard/3/1/2.png",
PredefinedTileProviders.openFireMap() to "http://openfiremap.org/hytiles/3/1/2.png",
PredefinedTileProviders.openSnowMap() to "https://tiles.opensnowmap.org/pistes/3/1/2.png",
PredefinedTileProviders.waymarkedTrailsHiking() to "https://tile.waymarkedtrails.org/hiking/3/1/2.png",
PredefinedTileProviders.waymarkedTrailsCycling() to "https://tile.waymarkedtrails.org/cycling/3/1/2.png",
Expand Down
Loading