Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrades #56

Merged
merged 5 commits into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Version 0.3.0 - 2024-10-14

### Changed

This release upgrades Swift tooling for Swift 5.10.

## Version 0.2.0 - 2024-10-07

### Added
Expand Down
15 changes: 8 additions & 7 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{
"originHash" : "ef57277e00807f229851c4bb0692df5652d1ca801f92fa003373a73212ebd3bf",
"pins" : [
{
"identity" : "maplibre-gl-native-distribution",
"kind" : "remoteSourceControl",
"location" : "https://github.com/maplibre/maplibre-gl-native-distribution.git",
"state" : {
"revision" : "abe762f1e19e03a4c6943d2aad92c219da384b29",
"version" : "6.5.4"
"revision" : "f23db791d7b6f0329e3c6788d8e4152c24c52b6b",
"version" : "6.7.1"
}
},
{
"identity" : "maplibre-swift-macros",
"kind" : "remoteSourceControl",
"location" : "https://github.com/stadiamaps/maplibre-swift-macros.git",
"state" : {
"revision" : "236215c13bff962009e0f0257d6d8349be33442f",
"version" : "0.0.4"
"revision" : "9e27e62dff7fd727aebd0a7c8aa74e7635a5583e",
"version" : "0.0.5"
}
},
{
Expand All @@ -41,10 +42,10 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/swiftlang/swift-syntax",
"state" : {
"revision" : "64889f0c732f210a935a0ad7cda38f77f876262d",
"version" : "509.1.1"
"revision" : "2bc86522d115234d1f588efe2bcb4ce4be8f8b82",
"version" : "510.0.3"
}
}
],
"version" : 2
"version" : 3
}
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.9
// swift-tools-version: 5.10
// The swift-tools-version declares the minimum version of Swift required to build this package.

import CompilerPluginSupport
Expand All @@ -21,8 +21,8 @@ let package = Package(
),
],
dependencies: [
.package(url: "https://github.com/maplibre/maplibre-gl-native-distribution.git", from: "6.4.0"),
.package(url: "https://github.com/stadiamaps/maplibre-swift-macros.git", from: "0.0.3"),
.package(url: "https://github.com/maplibre/maplibre-gl-native-distribution.git", from: "6.7.1"),
.package(url: "https://github.com/stadiamaps/maplibre-swift-macros.git", from: "0.0.5"),
// Testing
.package(url: "https://github.com/Kolos65/Mockable.git", exact: "0.0.10"),
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing", from: "1.17.2"),
Expand Down
5 changes: 2 additions & 3 deletions Sources/MapLibreSwiftUI/Examples/Layers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,11 @@ let clustered = ShapeSource(identifier: "points", options: [.clustered: true, .c
}

#Preview("Clustered Circles with Symbols") {
@State var camera = MapViewCamera.center(
MapView(styleURL: demoTilesURL, camera: .constant(MapViewCamera.center(
CLLocationCoordinate2D(latitude: 48.2082, longitude: 16.3719),
zoom: 5,
direction: 0
)
return MapView(styleURL: demoTilesURL, camera: $camera) {
))) {
// Clusters pins when they would touch

// Cluster == YES shows only those pins that are clustered, using .text
Expand Down
Loading