Adds GIS layers in WME
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
⚡ Performance: Chunked async feature processing — large layers no longer freeze WME 📊 Performance: Added timing metrics per layer (fetch / processing / map update time) 🔍 Performance: Feature counts now show pre-dedup vs post-dedup in console logs
🐛 Bug Fixes & UI Polish 📊 Added "Total Layers" count to the stats bar (Regions / Total / Showing / Active) 🔢 Fixed "Active" layer count — now updates correctly when toggling layers on/off 📌 "Clear All Regions" button now collapses with the region selector ↔️ Layers/Settings tabs and Search box now correctly span full width across all browsers
🎉 Major Update: Complete UI Redesign! ✨ Region selector now on Layers tab (no more tab switching!) 🔍 Added Search filter for layers alongside Viewport/Zoom 🌙 Modern blue theme with full Dark Mode support 📐 Better visual hierarchy, spacing, and consistency throughout
Minor bug fixes to make layer styles more stable!
Moved Style information from code to GoogleSheet
Push Fix again
concurrently fetch first-level subdivision data for all countries that have subdivisions
Improve API error handling in fetchFeatures for non-HTTP errors
Fixed label path curvature (pathLabelCurve) for edge cases where text could split and appear above/below the line; now generates smoother, more reliable label paths.
Refactor label processing globals and add polygon feature deduplication
zoomLevel
Offset functionality fixed!
✨ New Features: • Added font size selection dropdown to label settings • Updated list of commonly used system fonts for better readability • Font style and type are now saved as part of layer groups
🔧 Improvements: • Fixed label handling for multiple point features in the same location • Labels now consolidate address ranges by street name
📍 Example: When multiple addresses exist at the same coordinates: • 1101 SW CHAPEL LN, 1105 SW CHAPEL LN, 1201 SW CHAPEL LN, 1301 SW FLOYD LN, 1305 SW FLOYD LN
They now display as consolidated ranges: • 1101-1201 SW CHAPEL LN • 1301-1305 SW FLOYD LN
lastToken
Closes #66 Closes #49 Closes #45
Improved keyboard shortcut migration and persistence.
Shortcuts are more reliably registered with the SDK and saved across sessions.
Switch to Sheets Visualization API /gviz endpoint for public layer definitions (removes API key/referrer requirement)
Body: Replaces the previous use of the Sheets v4 API (which required an API key and allowed requests only from approved referrers) with the Visualization API /gviz endpoint. This new approach no longer requires an API key or referer header, making GIS layer definition loading more reliable—especially for users running privacy extensions or content blockers (like AdGuard) that may strip HTTP headers. (Original implementation would sometimes fail with 403 errors: "Requests from referer are blocked.") The change also simplifies code and avoids needing to manage an API key.
Uses /gviz/tq? for tabular JSON output from Google Sheets Supports public sheets ("anyone with link can view") Removes risk of intermittent spreadsheet loading failures due to missing headers Code updated to parse Visualization API output instead of Sheets v4 API response Closes #70
Major update: Socrata support + documentation links
Major update: 2025.07.27.00
New: Saved Layer Groups!
New "Load All Layers" option: Instantly loads every County and State layer, making it even easier to create groups across states.
Convert legacy selectedStates array to the updated selectedSubL1 with 'USA-' prefixes for backward compatibility.
Small Fix to load Kenya layers
Move to "// @require https://update.greasyfork.org/scripts/542477/1623802/wmeGisLBBOX.js"
Minor update: Enhanced to play nice with "Dark Mode" !
Minor update: Enhanced the ArcGIS platform API calls by leveraging the MaxAllowableOffset capability based on zoom level. This optimization reduces data retrieval size, ensuring faster responses and minimizing unnecessary data load at wider zoom scales.
SDK Performance and Stability Update
Update to use the WME SDK
Still need to figure out what to do about path-following-labels on roads, though.
Merge branch 'sdk-update'
Save state of collapsible sections
Fix bug where road segment names don't stay on screen
顯示所有腳本版本