Adds a city overlay for selected states
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
Add full style customisation, turf.js geometry engine, sidebar power button, and code quality improvements
Merge pull request #29 from JS55CT/master
This PR brings a significant set of enhancements to the Cities Overlay script covering visual customisation, geometry engine improvements, UI polish, power-button restoration, and code quality. All changes are confined to WMECitiesOverlay.js.
WMECitiesOverlay.js
Added Support for Canada
Merge pull request #24 from JS55CT/master
Adding Support for Canada
Migrated to the new SDK. Utilized geoKMLer for converting KML to GeoJSON. Introduced flattenGeoJSON() to convert features to meet SDK requirements.
geoKMLer
flattenGeoJSON()
updaed error handeling for when getTopState() or getTopCountry() fire will Null
Tamped down logging even more in Non Debug mode. Removed the GEOJSON folder, as we will stick with KML file inputs.
Remove the DistrictNameDisplay when turning off the Cities Overlay
Changes to use 'wmeSDK.Map.dangerouslyAddFeaturesToLayerWithoutValidation' to get >100% performace inprovment in load time.
Small format change for "Dark Mode": Don't change global "label" css.
Merge pull request #23 from JS55CT/master
Update for the new SDK
Update WMECitiesOverlay.js
顯示所有腳本版本