Skip to content

Commit 6cefe2c

Browse files
authored
chore: Add region tags for nine objective-c samples (#212)
1 parent 3244f75 commit 6cefe2c

9 files changed

+18
-9
lines changed

GoogleMaps/GoogleMapsDemos/Samples/BasicMapViewController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* ANY KIND, either express or implied. See the License for the specific language governing
1313
* permissions and limitations under the License.
1414
*/
15-
15+
// [START maps_ios_sample_basic_map]
1616
#import "GoogleMapsDemos/Samples/BasicMapViewController.h"
1717

1818
#import <GoogleMaps/GoogleMaps.h>
@@ -52,3 +52,4 @@ - (void)mapViewDidFinishTileRendering:(GMSMapView *)mapView {
5252
}
5353

5454
@end
55+
// [END maps_ios_sample_basic_map]

GoogleMaps/GoogleMapsDemos/Samples/GeocoderViewController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* ANY KIND, either express or implied. See the License for the specific language governing
1313
* permissions and limitations under the License.
1414
*/
15-
15+
// [START maps_ios_sample_reverse_geocode]
1616
#import "GoogleMapsDemos/Samples/GeocoderViewController.h"
1717

1818
#import <GoogleMaps/GoogleMaps.h>
@@ -69,3 +69,4 @@ - (void)handleResponse:(nullable GMSReverseGeocodeResponse *)response
6969
}
7070

7171
@end
72+
// [END maps_ios_sample_reverse_geocode]

GoogleMaps/GoogleMapsDemos/Samples/GestureControlViewController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* ANY KIND, either express or implied. See the License for the specific language governing
1313
* permissions and limitations under the License.
1414
*/
15-
15+
// [START maps_ios_sample_map_gestures]
1616
#import "GoogleMapsDemos/Samples/GestureControlViewController.h"
1717

1818
#import <GoogleMaps/GoogleMaps.h>
@@ -68,3 +68,4 @@ - (void)didChangeZoomSwitch {
6868
}
6969

7070
@end
71+
// [END maps_ios_sample_map_gestures]

GoogleMaps/GoogleMapsDemos/Samples/MarkerEventsViewController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* ANY KIND, either express or implied. See the License for the specific language governing
1313
* permissions and limitations under the License.
1414
*/
15-
15+
// [START maps_ios_sample_marker_events]
1616
#import "GoogleMapsDemos/Samples/MarkerEventsViewController.h"
1717

1818
#import <QuartzCore/QuartzCore.h>
@@ -96,3 +96,4 @@ - (void)viewWillTransitionToSize:(CGSize)size
9696
}
9797

9898
@end
99+
// [END maps_ios_sample_marker_events]

GoogleMaps/GoogleMapsDemos/Samples/MarkerInfoWindowViewController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* ANY KIND, either express or implied. See the License for the specific language governing
1313
* permissions and limitations under the License.
1414
*/
15-
15+
// [START maps_ios_sample_marker_info_window]
1616
#import "GoogleMapsDemos/Samples/MarkerInfoWindowViewController.h"
1717

1818
#import "GoogleMapsDemos/UIViewController+GMSToastMessages.h"
@@ -94,3 +94,4 @@ - (void)mapView:(GMSMapView *)mapView didLongPressInfoWindowOfMarker:(GMSMarker
9494
}
9595

9696
@end
97+
// [END maps_ios_sample_marker_info_window]

GoogleMaps/GoogleMapsDemos/Samples/MarkersViewController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* ANY KIND, either express or implied. See the License for the specific language governing
1313
* permissions and limitations under the License.
1414
*/
15-
15+
// [START maps_ios_sample_add_marker]
1616
#import "GoogleMapsDemos/Samples/MarkersViewController.h"
1717

1818
#import <GoogleMaps/GoogleMaps.h>
@@ -86,3 +86,4 @@ - (void)didTapAdd {
8686
}
8787

8888
@end
89+
// [END maps_ios_sample_add_marker]

GoogleMaps/GoogleMapsDemos/Samples/MyLocationViewController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* ANY KIND, either express or implied. See the License for the specific language governing
1313
* permissions and limitations under the License.
1414
*/
15-
15+
// [START maps_ios_sample_my_location_button]
1616
#import "GoogleMapsDemos/Samples/MyLocationViewController.h"
1717

1818
#import <GoogleMaps/GoogleMaps.h>
@@ -82,3 +82,4 @@ - (void)observeValueForKeyPath:(NSString *)keyPath
8282
}
8383

8484
@end
85+
// [END maps_ios_sample_my_location_button]

GoogleMaps/GoogleMapsDemos/Samples/PolygonsViewController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* ANY KIND, either express or implied. See the License for the specific language governing
1313
* permissions and limitations under the License.
1414
*/
15-
15+
// [START maps_ios_sample_draw_polygons]
1616
#import "GoogleMapsDemos/Samples/PolygonsViewController.h"
1717

1818
#import <GoogleMaps/GoogleMaps.h>
@@ -279,3 +279,4 @@ - (GMSPath *)pathOfNorthCarolina {
279279
}
280280

281281
@end
282+
// [END maps_ios_sample_draw_polygons]

GoogleMaps/GoogleMapsDemos/Samples/PolylinesViewController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* ANY KIND, either express or implied. See the License for the specific language governing
1313
* permissions and limitations under the License.
1414
*/
15-
15+
// [START maps_ios_sample_draw_polylines]
1616
#import "GoogleMapsDemos/Samples/PolylinesViewController.h"
1717

1818
#import <GoogleMaps/GoogleMaps.h>
@@ -96,3 +96,4 @@ - (void)viewDidLoad {
9696
}
9797

9898
@end
99+
// [END maps_ios_sample_draw_polylines]

0 commit comments

Comments
 (0)