Skip to content

Manuel koordinat girişi ile alan cache indirme - #1

Draft
onatcerit wants to merge 7 commits into
developfrom
cursor/coordinate-cache-download-ab44
Draft

Manuel koordinat girişi ile alan cache indirme#1
onatcerit wants to merge 7 commits into
developfrom
cursor/coordinate-cache-download-ab44

Conversation

@onatcerit

@onatcerit onatcerit commented Aug 3, 2026

Copy link
Copy Markdown
Owner

Description of the Change

Varsayılan World Wind Application sol alt butonları:

  1. Cache by Coordinates → ortak indirme diyaloğu
  2. Cache from Map → haritada sürükle; seçilen koordinatlar aynı diyaloğa otomatik dolar (ayrı onay/progress UI kaldırıldı)
  3. Measure Distance → mesafe ölçümü

İndirme varsayılan olarak WorldWind level 5–14 aralığında yapılır (dialogda değiştirilebilir). Blue Marble gibi daha az seviyeli katmanlarda katmanın mevcut seviyeleri indirilir.

Why Should This Be In Core?

Core API değişmez; örnek/helper sınıflar ekler ve ApplicationTemplate main’ini bu AppFrame’e bağlar.

Benefits

  • Tek cache arayüzü (koordinat + harita)
  • Zoom aralığı ile daha kontrollü cache boyutu
  • Mesafe ölçümü

Potential Drawbacks

  • Bazı katmanların toplam level sayısı 14’ten azdır (ör. Blue Marble ~5 level)
  • Level 5’ten düşük seviyeler bilinçli olarak atlanır (katman çok kaba değilse)

Applicable Issues

N/A

Open in Web Open in Cursor 

cursoragent and others added 7 commits August 3, 2026 10:54
Introduce a bottom-left Cache by Coordinates control that opens a dialog
for typing sector bounds, previews the area on the globe, and downloads
selected imagery/elevation into the WorldWind cache. The download path is
isolated in SectorCacheController so interactive map selection can reuse it later.

Co-authored-by: Onat <[email protected]>
Add a second lower-left control that arms SectorSelector so the user can
press-and-drag a rectangle on the globe; on mouse release the selected
sector is confirmed and downloaded through SectorCacheController.

Co-authored-by: Onat <[email protected]>
Add a lower-left Measure Distance control that arms a press-and-drag
geodesic line; distance updates continuously in a label centered on the
line from the start point.

Co-authored-by: Onat <[email protected]>
Point ApplicationTemplate and demo launchers at CoordinateCacheDownload so
the familiar World Wind Application window shows the lower-left cache and
distance-measure buttons without requiring a separate demo class.

Co-authored-by: Onat <[email protected]>
Route Cache from Map into the shared coordinates dialog with auto-filled
bounds, remove the separate map download UI, and download only the
configured level range (default 5-14) for imagery and elevation.

Co-authored-by: Onat <[email protected]>
Move openWithSector next to the CoordinateCacheDialog constructor and call
it through AppFrame.openCacheDialogWithSector so the shared dialog API is
easier for IDEs and local checkouts to resolve.

Co-authored-by: Onat <[email protected]>
Interpret the zoom range as Earth/Bing/{n} folder names so selecting 0-14
matches the folders the user sees on disk. Row folders like 201/202 remain
tile-grid paths under each zoom folder.

Co-authored-by: Onat <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants