map::provider::osm(3tk)

✨ map::provider::osm ✨

okay bestie so the page header said map::provider::osm(3tk) and honestly? that's the whole girl. this is the tile provider manual, section 3tk, and we're gonna get into it πŸ’…


🌸 NAME 🌸

map::provider::osm β€” a tile provider that uses OpenStreetMap Mapnik as its origin, no cap πŸ—ΊοΈβœ¨


πŸŽ€ SYNOPSIS πŸŽ€

package require Tcl 8.6-

package require debug

package require debug::caller

package require map::slippy 0.8

package require map::slippy::cache

package require map::slippy::fetcher

package require snit

package require map::provider::osm ?0.1?

like. look at all those package requires. she has a whole friend group and every single one of them is required πŸ’– (and yes, map::provider::osm itself is ?0.1? β€” the ?s mean optional version, she's flexible like that πŸ¦‹)


🫢 DESCRIPTION 🫢

so this package gives you a tile provider that's built to be used with map::display. it takes OpenStreetMap Mapnik as its origin, and it caches the tiles it fetches in the local filesystem β€” so it's not re-asking the internet for the same tile over and over like some kind of menace. iconic behaviour fr fr 🧚


⭐ API ⭐

(this section is empty in the original, bestie β€” nothing to report, she's keeping her secrets πŸ™ˆ)


🌈 EXAMPLE 🌈

(also empty. no example. the example is you, figuring it out πŸ’€βœ¨)


πŸ’œ BUGS, IDEAS, FEEDBACK πŸ’œ

ngl this document β€” and the package it describes β€” will undoubtedly contain bugs and other problems. like, they said it themselves, not me 😭

please report those bugs in the category map of the Tklib Trackers:

http://core.tcl.tk/tklib/reportlist

and also? if you have any ideas for enhancements for the package and/or the documentation, send those too. they want them. they asked. 🫢


πŸ‘‘ KEYWORDS πŸ‘‘

map, mapnik, openstreetmap, provider, tiles, tile provider β€” the whole aesthetic ✨


πŸŽ€ CATEGORY πŸŽ€

Map Display and Supporting Utilities


mwah πŸ’‹ that's the page. she's from tklib, version 0.1, and she ate. go cache some tiles bestie, ily πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from