step 1: lock public api and pure core

This commit is contained in:
2026-05-22 18:21:01 +02:00
parent 11fc1bb9bd
commit bd1ce7abff
14 changed files with 885 additions and 6 deletions

View File

@@ -0,0 +1,26 @@
# dpg-map
`dpg-map` is a Dear PyGui map widget package under rebuild.
The Step 1 public API contract is in place:
```python
import dpg_map as dpgm
provider = dpgm.TileProvider(
name="custom",
url_template="https://example.com/{z}/{x}/{y}.png",
attribution="Tiles (c) Example",
)
dpgm.register_provider(provider)
```
Implemented in Step 1:
- public package exports
- tile provider definitions and registry
- Web Mercator projection helpers
- initial cache dataclasses
- explicit stubs for GUI-dependent public functions
GUI widget rendering and runtime state updates are planned for later rebuild steps.