Skip to content

Commit 3244f75

Browse files
authored
chore: Add region tags to nine samples (#211)
1 parent 4d446e7 commit 3244f75

9 files changed

+18
-9
lines changed

GoogleMaps-Swift/GoogleMapsSwiftDemos/Swift/Samples/BasicMapViewController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
1111
// ANY KIND, either express or implied. See the License for the specific language governing
1212
// permissions and limitations under the License.
13-
13+
// [START maps_ios_sample_basic_map]
1414
import GoogleMaps
1515
import UIKit
1616

@@ -53,3 +53,4 @@ extension BasicMapViewController: GMSMapViewDelegate {
5353
statusLabel.alpha = 0.0
5454
}
5555
}
56+
// [END maps_ios_sample_basic_map]

GoogleMaps-Swift/GoogleMapsSwiftDemos/Swift/Samples/GeocoderViewController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
1111
// ANY KIND, either express or implied. See the License for the specific language governing
1212
// permissions and limitations under the License.
13-
13+
// [START maps_ios_sample_reverse_geocode]
1414
import GoogleMaps
1515
import UIKit
1616

@@ -54,3 +54,4 @@ extension GeocoderViewController: GMSMapViewDelegate {
5454
}
5555
}
5656
}
57+
// [END maps_ios_sample_reverse_geocode]

GoogleMaps-Swift/GoogleMapsSwiftDemos/Swift/Samples/GestureControlViewController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
1111
// ANY KIND, either express or implied. See the License for the specific language governing
1212
// permissions and limitations under the License.
13-
13+
// [START maps_ios_sample_map_gestures]
1414
import GoogleMaps
1515
import UIKit
1616

@@ -70,3 +70,4 @@ class GestureControlViewController: UIViewController {
7070
}
7171

7272
}
73+
// [END maps_ios_sample_map_gestures]

GoogleMaps-Swift/GoogleMapsSwiftDemos/Swift/Samples/MarkerEventsViewController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
1111
// ANY KIND, either express or implied. See the License for the specific language governing
1212
// permissions and limitations under the License.
13-
13+
// [START maps_ios_sample_marker_events]
1414
import GoogleMaps
1515
import UIKit
1616

@@ -59,3 +59,4 @@ extension MarkerEventsViewController: GMSMapViewDelegate {
5959
return true
6060
}
6161
}
62+
// [END maps_ios_sample_marker_events]

GoogleMaps-Swift/GoogleMapsSwiftDemos/Swift/Samples/MarkerInfoWindowViewController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
1111
// ANY KIND, either express or implied. See the License for the specific language governing
1212
// permissions and limitations under the License.
13-
13+
// [START maps_ios_sample_marker_info_window]
1414
import GoogleMaps
1515
import UIKit
1616

@@ -85,3 +85,4 @@ extension UIViewController {
8585
})
8686
}
8787
}
88+
// [END maps_ios_sample_marker_info_window]

GoogleMaps-Swift/GoogleMapsSwiftDemos/Swift/Samples/MarkersViewController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
1111
// ANY KIND, either express or implied. See the License for the specific language governing
1212
// permissions and limitations under the License.
13-
13+
// [START maps_ios_sample_add_marker]
1414
import GoogleMaps
1515
import UIKit
1616

@@ -62,3 +62,4 @@ class MarkersViewController: UIViewController {
6262
melbourneMarker.map = mapView
6363
}
6464
}
65+
// [END maps_ios_sample_add_marker]

GoogleMaps-Swift/GoogleMapsSwiftDemos/Swift/Samples/MyLocationViewController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
1111
// ANY KIND, either express or implied. See the License for the specific language governing
1212
// permissions and limitations under the License.
13-
13+
// [START maps_ios_sample_my_location_button]
1414
import GoogleMaps
1515
import UIKit
1616

@@ -67,3 +67,4 @@ extension MyLocationViewController: GMSMapViewDelegate {
6767
present(alert, animated: true)
6868
}
6969
}
70+
// [END maps_ios_sample_my_location_button]

GoogleMaps-Swift/GoogleMapsSwiftDemos/Swift/Samples/PolygonsViewController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
1111
// ANY KIND, either express or implied. See the License for the specific language governing
1212
// permissions and limitations under the License.
13-
13+
// [START maps_ios_sample_draw_polygons]
1414
import GoogleMaps
1515
import UIKit
1616

@@ -273,3 +273,4 @@ extension PolygonsViewController: GMSMapViewDelegate {
273273
hue: CGFloat.random(in: 0..<1), saturation: 1, brightness: 1, alpha: 0.5)
274274
}
275275
}
276+
// [END maps_ios_sample_draw_polygons]

GoogleMaps-Swift/GoogleMapsSwiftDemos/Swift/Samples/PolylinesViewController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
1111
// ANY KIND, either express or implied. See the License for the specific language governing
1212
// permissions and limitations under the License.
13-
13+
// [START maps_ios_sample_draw_polylines]
1414
import GoogleMaps
1515
import UIKit
1616

@@ -70,3 +70,4 @@ final class PolylinesViewController: UIViewController {
7070
}
7171
}
7272
}
73+
// [END maps_ios_sample_draw_polylines]

0 commit comments

Comments
 (0)