diff --git a/samples/add-map/src/index.js b/samples/add-map/src/index.js
index 25acf1a38e..35e672adf1 100644
--- a/samples/add-map/src/index.js
+++ b/samples/add-map/src/index.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-// [START maps_add_map_script_body]
+// [START maps_add_map]
// Initialize and add the map
export function initMap() {
// The location of Uluru
@@ -27,4 +27,4 @@ export function initMap() {
// The marker, positioned at Uluru
var marker = new google.maps.Marker({ position: uluru, map: map });
}
-// [END maps_add_map_script_body]
+// [END maps_add_map]
diff --git a/samples/add-map/src/index.njk b/samples/add-map/src/index.njk
index 594bd01f3d..cd67e7ae1a 100644
--- a/samples/add-map/src/index.njk
+++ b/samples/add-map/src/index.njk
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
{% extends '../../../shared/layout.njk'%} {% block html %}
-
+
-
+
{% endblock %}
diff --git a/samples/add-map/src/style.scss b/samples/add-map/src/style.scss
index e42bb3530a..5c50866a73 100644
--- a/samples/add-map/src/style.scss
+++ b/samples/add-map/src/style.scss
@@ -14,10 +14,10 @@
* limitations under the License.
*/
-/* [START maps_add_map_css] */
+/* [START maps_add_map] */
/* Set the size of the div element that contains the map */
#map {
height: 400px; /* The height is 400 pixels */
width: 100%; /* The width is the width of the web page */
}
-/* [END maps_add_map_css] */
+/* [END maps_add_map] */
diff --git a/samples/aerial-rotation/src/index.js b/samples/aerial-rotation/src/index.js
index dd7fd7059f..b6cc1c31c2 100644
--- a/samples/aerial-rotation/src/index.js
+++ b/samples/aerial-rotation/src/index.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-// [START maps_aerial_rotation_script_body]
+// [START maps_aerial_rotation]
export var map;
export function initMap() {
@@ -38,4 +38,4 @@ export function autoRotate() {
window.setInterval(rotate90, 3000);
}
}
-// [END maps_aerial_rotation_script_body]
+// [END maps_aerial_rotation]
diff --git a/samples/aerial-rotation/src/index.njk b/samples/aerial-rotation/src/index.njk
index e322a771f1..5deac02e0a 100644
--- a/samples/aerial-rotation/src/index.njk
+++ b/samples/aerial-rotation/src/index.njk
@@ -14,11 +14,11 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
{% extends '../../../shared/layout.njk'%} {% block html %}
-
+
-
+
{% endblock %}
diff --git a/samples/aerial-rotation/src/style.scss b/samples/aerial-rotation/src/style.scss
index 6b7a121d8c..61b375f3b4 100644
--- a/samples/aerial-rotation/src/style.scss
+++ b/samples/aerial-rotation/src/style.scss
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-/*! [START maps_aerial_rotation_css] */
+/*! [START maps_aerial_rotation] */
@import "../../../shared/scss/default.scss";
@import "../../../shared/scss/floating-panel.scss";
-/*! [END maps_aerial_rotation_css] */
+/*! [END maps_aerial_rotation] */
diff --git a/samples/aerial-simple/src/index.js b/samples/aerial-simple/src/index.js
index 7514989d66..d7128368d5 100644
--- a/samples/aerial-simple/src/index.js
+++ b/samples/aerial-simple/src/index.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-// [START maps_aerial_simple_script_body]
+// [START maps_aerial_simple]
export function initMap() {
var map = new google.maps.Map(document.getElementById("map"), {
center: { lat: 36.964, lng: -122.015 },
@@ -23,4 +23,4 @@ export function initMap() {
});
map.setTilt(45);
}
-// [END maps_aerial_simple_script_body]
+// [END maps_aerial_simple]
diff --git a/samples/aerial-simple/src/index.njk b/samples/aerial-simple/src/index.njk
index edabfd876b..0afe25ff33 100644
--- a/samples/aerial-simple/src/index.njk
+++ b/samples/aerial-simple/src/index.njk
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
{% extends '../../../shared/layout.njk'%} {% block html %}
-
+
-
+
{% endblock %}
diff --git a/samples/aerial-simple/src/style.scss b/samples/aerial-simple/src/style.scss
index 01eb13872b..cecf0f7ffd 100644
--- a/samples/aerial-simple/src/style.scss
+++ b/samples/aerial-simple/src/style.scss
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-/*! [START maps_aerial_simple_css] */
+/*! [START maps_aerial_simple] */
@import "../../../shared/scss/default.scss";
-/*! [END maps_aerial_simple_css] */
+/*! [END maps_aerial_simple] */
diff --git a/samples/circle-simple/src/index.js b/samples/circle-simple/src/index.js
index ce94f9d98b..99ac6f71c2 100644
--- a/samples/circle-simple/src/index.js
+++ b/samples/circle-simple/src/index.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-// [START maps_circle_simple_script_body]
+// [START maps_circle_simple]
// This example creates circles on the map, representing populations in North
// America.
@@ -62,4 +62,4 @@ export function initMap() {
});
}
}
-// [END maps_circle_simple_script_body]
+// [END maps_circle_simple]
diff --git a/samples/circle-simple/src/index.njk b/samples/circle-simple/src/index.njk
index 39fa3783a5..926513b675 100644
--- a/samples/circle-simple/src/index.njk
+++ b/samples/circle-simple/src/index.njk
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
{% extends '../../../shared/layout.njk'%} {% block html %}
-
+
-
+
{% endblock %}
diff --git a/samples/circle-simple/src/style.scss b/samples/circle-simple/src/style.scss
index 6df349b732..7273050fb5 100644
--- a/samples/circle-simple/src/style.scss
+++ b/samples/circle-simple/src/style.scss
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-/*! [START maps_circle_simple_css] */
+/*! [START maps_circle_simple] */
@import "../../../shared/scss/default.scss";
-/*! [END maps_circle_simple_css] */
+/*! [END maps_circle_simple] */
diff --git a/samples/combining-data/src/index.js b/samples/combining-data/src/index.js
index 92824d819d..d68f2172dc 100644
--- a/samples/combining-data/src/index.js
+++ b/samples/combining-data/src/index.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-// [START maps_combining_data_script_body]
+// [START maps_combining_data]
export var mapStyle = [
{
stylers: [{ visibility: "off" }]
@@ -217,4 +217,4 @@ export function mouseOutOfRegion(e) {
}
// [END maps_combining_data_snippet_mouseevents]
-// [END maps_combining_data_script_body]
+// [END maps_combining_data]
diff --git a/samples/combining-data/src/index.njk b/samples/combining-data/src/index.njk
index 91e44f2fa1..683a304ee1 100644
--- a/samples/combining-data/src/index.njk
+++ b/samples/combining-data/src/index.njk
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
{% extends '../../../shared/layout.njk'%} {% block html %}
-
+
-
+
{% endblock %}
diff --git a/samples/combining-data/src/style.scss b/samples/combining-data/src/style.scss
index e71be5448e..8726f5b38c 100644
--- a/samples/combining-data/src/style.scss
+++ b/samples/combining-data/src/style.scss
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-/* [START maps_combining_data_css] */
+/* [START maps_combining_data] */
html,
body,
#map {
@@ -97,4 +97,4 @@ body,
font-size: 14px;
width: 14px;
}
-/* [END maps_combining_data_css] */
+/* [END maps_combining_data] */
diff --git a/samples/conserve-map-on-scroll/src/index.js b/samples/conserve-map-on-scroll/src/index.js
index 92d4ca2e3c..2d9bb56c75 100644
--- a/samples/conserve-map-on-scroll/src/index.js
+++ b/samples/conserve-map-on-scroll/src/index.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-// [START maps_conserve_map_on_scroll_script_body]
+// [START maps_conserve_map_on_scroll]
// [START maps_conserve_map_script_snippet]
export function initMap() {
var locationRio = { lat: -22.915, lng: -43.197 };
@@ -30,4 +30,4 @@ export function initMap() {
title: "Hello World!"
});
}
-// [END maps_conserve_map_on_scroll_script_body]
+// [END maps_conserve_map_on_scroll]
diff --git a/samples/conserve-map-on-scroll/src/index.njk b/samples/conserve-map-on-scroll/src/index.njk
index b409794b59..f9d598aabc 100644
--- a/samples/conserve-map-on-scroll/src/index.njk
+++ b/samples/conserve-map-on-scroll/src/index.njk
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
{% extends '../../../shared/layout.njk'%} {% block html %}
-
+
-
+
{% endblock %}
diff --git a/samples/conserve-map-on-scroll/src/style.scss b/samples/conserve-map-on-scroll/src/style.scss
index 1786e4686c..7df040876d 100644
--- a/samples/conserve-map-on-scroll/src/style.scss
+++ b/samples/conserve-map-on-scroll/src/style.scss
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-/*! [START maps_conserve_map_on_scroll_css] */
+/*! [START maps_conserve_map_on_scroll] */
@import "../../../shared/scss/default.scss";
-/*! [END maps_conserve_map_on_scroll_css] */
+/*! [END maps_conserve_map_on_scroll] */
diff --git a/samples/control-bounds-restriction/src/index.js b/samples/control-bounds-restriction/src/index.js
index a24448cf6f..7b72af6e38 100644
--- a/samples/control-bounds-restriction/src/index.js
+++ b/samples/control-bounds-restriction/src/index.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-// [START maps_control_bounds_restriction_script_body]
+// [START maps_control_bounds_restriction]
export var map;
export var NEW_ZEALAND_BOUNDS = {
north: -34.36,
@@ -34,4 +34,4 @@ export function initMap() {
zoom: 7
});
}
-// [END maps_control_bounds_restriction_script_body]
+// [END maps_control_bounds_restriction]
diff --git a/samples/control-bounds-restriction/src/index.njk b/samples/control-bounds-restriction/src/index.njk
index aedecf3efd..78d507e965 100644
--- a/samples/control-bounds-restriction/src/index.njk
+++ b/samples/control-bounds-restriction/src/index.njk
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
{% extends '../../../shared/layout.njk'%} {% block html %}
-
+
-
+
{% endblock %}
diff --git a/samples/control-bounds-restriction/src/style.scss b/samples/control-bounds-restriction/src/style.scss
index c4752c750e..caf4b7fd35 100644
--- a/samples/control-bounds-restriction/src/style.scss
+++ b/samples/control-bounds-restriction/src/style.scss
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-/*! [START maps_control_bounds_restriction_css] */
+/*! [START maps_control_bounds_restriction] */
@import "../../../shared/scss/default.scss";
-/*! [END maps_control_bounds_restriction_css] */
+/*! [END maps_control_bounds_restriction] */
diff --git a/samples/control-custom-state/src/index.js b/samples/control-custom-state/src/index.js
index dda533e7f0..1db6adfb41 100755
--- a/samples/control-custom-state/src/index.js
+++ b/samples/control-custom-state/src/index.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-// [START maps_control_custom_state_script_body]
+// [START maps_control_custom_state]
export var map;
export var chicago = { lat: 41.85, lng: -87.65 };
@@ -113,4 +113,4 @@ export function initMap() {
centerControlDiv.style["padding-top"] = "10px";
map.controls[google.maps.ControlPosition.TOP_CENTER].push(centerControlDiv);
}
-// [END maps_control_custom_state_script_body]
+// [END maps_control_custom_state]
diff --git a/samples/control-custom-state/src/index.njk b/samples/control-custom-state/src/index.njk
index 7b0a1929e8..3f1552d4ab 100644
--- a/samples/control-custom-state/src/index.njk
+++ b/samples/control-custom-state/src/index.njk
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
{% extends '../../../shared/layout.njk'%} {% block html %}
-
+
-
+
{% endblock %}
diff --git a/samples/control-custom-state/src/style.scss b/samples/control-custom-state/src/style.scss
index 7cc521d839..f5d19c5df3 100644
--- a/samples/control-custom-state/src/style.scss
+++ b/samples/control-custom-state/src/style.scss
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-/*! [START maps_control_custom_state_css] */
+/*! [START maps_control_custom_state] */
@import "../../../shared/scss/default.scss";
@import "../../../shared/scss/custom-control-state.scss";
-/*! [END maps_control_custom_state_css] */
+/*! [END maps_control_custom_state] */
diff --git a/samples/control-custom/src/index.js b/samples/control-custom/src/index.js
index 43009d9545..9eca524510 100755
--- a/samples/control-custom/src/index.js
+++ b/samples/control-custom/src/index.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-// [START maps_control_custom_script_body]
+// [START maps_control_custom]
export var map;
export var chicago = { lat: 41.85, lng: -87.65 };
@@ -68,4 +68,4 @@ export function initMap() {
centerControlDiv.index = 1;
map.controls[google.maps.ControlPosition.TOP_CENTER].push(centerControlDiv);
}
-// [END maps_control_custom_script_body]
+// [END maps_control_custom]
diff --git a/samples/control-custom/src/index.njk b/samples/control-custom/src/index.njk
index efb98e0e8a..e2da188b39 100644
--- a/samples/control-custom/src/index.njk
+++ b/samples/control-custom/src/index.njk
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
{% extends '../../../shared/layout.njk'%} {% block html %}
-
+
-
+
{% endblock %}
diff --git a/samples/control-custom/src/style.scss b/samples/control-custom/src/style.scss
index c4c7c5cf4e..832e5f8f02 100644
--- a/samples/control-custom/src/style.scss
+++ b/samples/control-custom/src/style.scss
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-/*! [START maps_control_custom_css] */
+/*! [START maps_control_custom] */
@import "../../../shared/scss/default.scss";
-/*! [END maps_control_custom_css] */
+/*! [END maps_control_custom] */
diff --git a/samples/control-default/src/index.js b/samples/control-default/src/index.js
index f5e7fb32b4..f1118ecea5 100644
--- a/samples/control-default/src/index.js
+++ b/samples/control-default/src/index.js
@@ -14,11 +14,11 @@
* limitations under the License.
*/
-// [START maps_control_default_script_body]
+// [START maps_control_default]
export function initMap() {
var map = new google.maps.Map(document.getElementById("map"), {
center: { lat: -34.397, lng: 150.644 },
zoom: 8
});
}
-// [END maps_control_default_script_body]
+// [END maps_control_default]
diff --git a/samples/control-default/src/index.njk b/samples/control-default/src/index.njk
index 558d45d5ff..48c2ffbca7 100644
--- a/samples/control-default/src/index.njk
+++ b/samples/control-default/src/index.njk
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
{% extends '../../../shared/layout.njk'%} {% block html %}
-
+
-
+
{% endblock %}
diff --git a/samples/control-default/src/style.scss b/samples/control-default/src/style.scss
index 78f94b121a..aaa1b730f3 100644
--- a/samples/control-default/src/style.scss
+++ b/samples/control-default/src/style.scss
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-/*! [START maps_control_default_css] */
+/*! [START maps_control_default] */
@import "../../../shared/scss/default.scss";
-/*! [END maps_control_default_css] */
+/*! [END maps_control_default] */
diff --git a/samples/control-disableUI/src/index.js b/samples/control-disableUI/src/index.js
index ce9941c5e2..222517b2d6 100644
--- a/samples/control-disableUI/src/index.js
+++ b/samples/control-disableUI/src/index.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-// [START maps_control_disableUI_script_body]
+// [START maps_control_disableUI]
export function initMap() {
var map = new google.maps.Map(document.getElementById("map"), {
zoom: 4,
@@ -22,4 +22,4 @@ export function initMap() {
disableDefaultUI: true
});
}
-// [END maps_control_disableUI_script_body]
+// [END maps_control_disableUI]
diff --git a/samples/control-disableUI/src/index.njk b/samples/control-disableUI/src/index.njk
index c9c89cd883..1fe99296de 100644
--- a/samples/control-disableUI/src/index.njk
+++ b/samples/control-disableUI/src/index.njk
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
{% extends '../../../shared/layout.njk'%} {% block html %}
-
+
-
+
{% endblock %}
diff --git a/samples/control-disableUI/src/style.scss b/samples/control-disableUI/src/style.scss
index 61bacbd4a2..880384f674 100644
--- a/samples/control-disableUI/src/style.scss
+++ b/samples/control-disableUI/src/style.scss
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-/*! [START maps_control_disableUI_css] */
+/*! [START maps_control_disableUI] */
@import "../../../shared/scss/default.scss";
-/*! [END maps_control_disableUI_css] */
+/*! [END maps_control_disableUI] */
diff --git a/samples/control-options/src/index.js b/samples/control-options/src/index.js
index 8b08e5a91a..10010b7086 100755
--- a/samples/control-options/src/index.js
+++ b/samples/control-options/src/index.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-// [START maps_control_options_script_body]
+// [START maps_control_options]
// You can set control options to change the default position or style of many
// of the map controls.
@@ -29,4 +29,4 @@ export function initMap() {
}
});
}
-// [END maps_control_options_script_body]
+// [END maps_control_options]
diff --git a/samples/control-options/src/index.njk b/samples/control-options/src/index.njk
index 7958410f12..e5ed322c67 100644
--- a/samples/control-options/src/index.njk
+++ b/samples/control-options/src/index.njk
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
{% extends '../../../shared/layout.njk'%} {% block html %}
-
+
-
+
{% endblock %}
diff --git a/samples/control-options/src/style.scss b/samples/control-options/src/style.scss
index 9ec955b81e..71b5863160 100644
--- a/samples/control-options/src/style.scss
+++ b/samples/control-options/src/style.scss
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-/*! [START maps_control_options_css] */
+/*! [START maps_control_options] */
@import "../../../shared/scss/default.scss";
-/*! [END maps_control_options_css] */
+/*! [END maps_control_options] */
diff --git a/samples/control-positioning-labels/src/index.njk b/samples/control-positioning-labels/src/index.njk
index fc1503a8f7..b8020c7d09 100644
--- a/samples/control-positioning-labels/src/index.njk
+++ b/samples/control-positioning-labels/src/index.njk
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
{% extends '../../../shared/layout.njk'%} {% block html %}
-
+
-
+
{% endblock %}
diff --git a/samples/control-positioning-labels/src/style.scss b/samples/control-positioning-labels/src/style.scss
index 5f7bd5d06e..54389a9c0c 100644
--- a/samples/control-positioning-labels/src/style.scss
+++ b/samples/control-positioning-labels/src/style.scss
@@ -14,6 +14,6 @@
* limitations under the License.
*/
-/*! [START maps_control_positioning_labels_css] */
+/*! [START maps_control_positioning_labels] */
-/*! [END maps_control_positioning_labels_css] */
+/*! [END maps_control_positioning_labels] */
diff --git a/samples/control-positioning/src/index.js b/samples/control-positioning/src/index.js
index a326abdd29..3a04638fd8 100755
--- a/samples/control-positioning/src/index.js
+++ b/samples/control-positioning/src/index.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-// [START maps_control_positioning_script_body]
+// [START maps_control_positioning]
export function initMap() {
var map = new google.maps.Map(document.getElementById("map"), {
zoom: 12,
@@ -36,4 +36,4 @@ export function initMap() {
fullscreenControl: true
});
}
-// [END maps_control_positioning_script_body]
+// [END maps_control_positioning]
diff --git a/samples/control-positioning/src/index.njk b/samples/control-positioning/src/index.njk
index 47a4b48765..b79dc582fc 100644
--- a/samples/control-positioning/src/index.njk
+++ b/samples/control-positioning/src/index.njk
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
{% extends '../../../shared/layout.njk'%} {% block html %}
-
+
-
+
{% endblock %}
diff --git a/samples/control-positioning/src/style.scss b/samples/control-positioning/src/style.scss
index 1a884c0cf4..87af0778f9 100644
--- a/samples/control-positioning/src/style.scss
+++ b/samples/control-positioning/src/style.scss
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-/*! [START maps_control_positioning_css] */
+/*! [START maps_control_positioning] */
@import "../../../shared/scss/default.scss";
-/*! [END maps_control_positioning_css] */
+/*! [END maps_control_positioning] */
diff --git a/samples/control-replacement/src/index.js b/samples/control-replacement/src/index.js
index 0221a67a4e..82593a5b5f 100644
--- a/samples/control-replacement/src/index.js
+++ b/samples/control-replacement/src/index.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-// [START maps_control_replacement_script_body]
+// [START maps_control_replacement]
export var map;
export function initMap() {
map = new google.maps.Map(document.querySelector("#map"), {
@@ -108,4 +108,4 @@ export function exitFullscreen() {
document.msCancelFullScreen();
}
}
-// [END maps_control_replacement_script_body]
+// [END maps_control_replacement]
diff --git a/samples/control-replacement/src/index.njk b/samples/control-replacement/src/index.njk
index a6e9475efb..4acb1e7c1f 100644
--- a/samples/control-replacement/src/index.njk
+++ b/samples/control-replacement/src/index.njk
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
{% extends '../../../shared/layout.njk'%} {% block html %}
-
+
@@ -39,6 +39,6 @@ limitations under the License.
-
+
{% endblock %}
diff --git a/samples/control-replacement/src/style.scss b/samples/control-replacement/src/style.scss
index 6c85326878..73e51ceb89 100644
--- a/samples/control-replacement/src/style.scss
+++ b/samples/control-replacement/src/style.scss
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-/* [START maps_control_replacement_css] */
+/* [START maps_control_replacement] */
/* Always set the map height explicitly to define the size of the div
* element that contains the map. */
@@ -148,4 +148,4 @@ body {
border-width: 2px 0 0 2px;
}
-/* [END maps_control_replacement_css] */
+/* [END maps_control_replacement] */
diff --git a/samples/control-simple/src/index.js b/samples/control-simple/src/index.js
index 1a381bb76c..80594bba94 100644
--- a/samples/control-simple/src/index.js
+++ b/samples/control-simple/src/index.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-// [START maps_control_simple_script_body]
+// [START maps_control_simple]
export function initMap() {
var map = new google.maps.Map(document.getElementById("map"), {
zoom: 4,
@@ -23,4 +23,4 @@ export function initMap() {
scaleControl: true
});
}
-// [END maps_control_simple_script_body]
+// [END maps_control_simple]
diff --git a/samples/control-simple/src/index.njk b/samples/control-simple/src/index.njk
index 637be1a04d..10591183f5 100644
--- a/samples/control-simple/src/index.njk
+++ b/samples/control-simple/src/index.njk
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
{% extends '../../../shared/layout.njk'%} {% block html %}
-
+
-
+
{% endblock %}
diff --git a/samples/control-simple/src/style.scss b/samples/control-simple/src/style.scss
index b7733e1ba8..0fabf8c35f 100644
--- a/samples/control-simple/src/style.scss
+++ b/samples/control-simple/src/style.scss
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-/*! [START maps_control_simple_css] */
+/*! [START maps_control_simple] */
@import "../../../shared/scss/default.scss";
-/*! [END maps_control_simple_css] */
+/*! [END maps_control_simple] */
diff --git a/samples/controls-basic-map/src/index.js b/samples/controls-basic-map/src/index.js
index 5cb002f708..0af9cb6014 100644
--- a/samples/controls-basic-map/src/index.js
+++ b/samples/controls-basic-map/src/index.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-// [START maps_controls_basic_map_script_body]
+// [START maps_controls_basic_map]
// [START maps_controls_basic_map_script_snippet]
export function initMap() {
var locationRio = { lat: -22.915, lng: -43.197 };
@@ -30,4 +30,4 @@ export function initMap() {
title: "Hello World!"
});
}
-// [END maps_controls_basic_map_script_body]
+// [END maps_controls_basic_map]
diff --git a/samples/controls-basic-map/src/index.njk b/samples/controls-basic-map/src/index.njk
index cf11962886..7fbd00a081 100644
--- a/samples/controls-basic-map/src/index.njk
+++ b/samples/controls-basic-map/src/index.njk
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
{% extends '../../../shared/layout.njk'%} {% block html %}
-
+
-
+
{% endblock %}
diff --git a/samples/controls-basic-map/src/style.scss b/samples/controls-basic-map/src/style.scss
index 91693af6b0..5e602b498a 100644
--- a/samples/controls-basic-map/src/style.scss
+++ b/samples/controls-basic-map/src/style.scss
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-/*! [START maps_controls_basic_map_css] */
+/*! [START maps_controls_basic_map] */
@import "../../../shared/scss/default.scss";
-/*! [END maps_controls_basic_map_css] */
+/*! [END maps_controls_basic_map] */
diff --git a/samples/custom-markers/src/index.js b/samples/custom-markers/src/index.js
index 19485a0733..46cc05b3f5 100644
--- a/samples/custom-markers/src/index.js
+++ b/samples/custom-markers/src/index.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-// [START maps_custom_markers_script_body]
+// [START maps_custom_markers]
export var map;
export function initMap() {
map = new google.maps.Map(document.getElementById("map"), {
@@ -125,4 +125,4 @@ export function initMap() {
});
}
}
-// [END maps_custom_markers_script_body]
+// [END maps_custom_markers]
diff --git a/samples/custom-markers/src/index.njk b/samples/custom-markers/src/index.njk
index bddda9cca6..218c847942 100644
--- a/samples/custom-markers/src/index.njk
+++ b/samples/custom-markers/src/index.njk
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
{% extends '../../../shared/layout.njk'%} {% block html %}
-
+
-
+
{% endblock %}
diff --git a/samples/custom-markers/src/style.scss b/samples/custom-markers/src/style.scss
index 6af85d8406..327a0d5700 100644
--- a/samples/custom-markers/src/style.scss
+++ b/samples/custom-markers/src/style.scss
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-/*! [START maps_custom_markers_css] */
+/*! [START maps_custom_markers] */
@import "../../../shared/scss/default.scss";
-/*! [END maps_custom_markers_css] */
+/*! [END maps_custom_markers] */
diff --git a/samples/delete-vertex-menu/src/index.js b/samples/delete-vertex-menu/src/index.js
index 82bac7efde..dd6af44b81 100644
--- a/samples/delete-vertex-menu/src/index.js
+++ b/samples/delete-vertex-menu/src/index.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-// [START maps_delete_vertex_menu_script_body]
+// [START maps_delete_vertex_menu]
export function initialize() {
var mapOptions = {
zoom: 3,
@@ -139,4 +139,4 @@ DeleteMenu.prototype.removeVertex = function() {
this.close();
};
-// [END maps_delete_vertex_menu_script_body]
+// [END maps_delete_vertex_menu]
diff --git a/samples/delete-vertex-menu/src/index.njk b/samples/delete-vertex-menu/src/index.njk
index cf6d685c85..885380e4eb 100644
--- a/samples/delete-vertex-menu/src/index.njk
+++ b/samples/delete-vertex-menu/src/index.njk
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
{% extends '../../../shared/layout.njk'%} {% block html %}
-
+
-
+
{% endblock %}
diff --git a/samples/delete-vertex-menu/src/style.scss b/samples/delete-vertex-menu/src/style.scss
index 147253db25..1c76382016 100644
--- a/samples/delete-vertex-menu/src/style.scss
+++ b/samples/delete-vertex-menu/src/style.scss
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-/* [START maps_delete_vertex_menu_css] */
+/* [START maps_delete_vertex_menu] */
@import "../../../shared/scss/default.scss";
.delete-menu {
@@ -34,4 +34,4 @@
.delete-menu:hover {
background: #eee;
}
-/* [END maps_delete_vertex_menu_css] */
+/* [END maps_delete_vertex_menu] */
diff --git a/samples/directions-complex/src/index.js b/samples/directions-complex/src/index.js
index facddcf5c1..8740b6949c 100644
--- a/samples/directions-complex/src/index.js
+++ b/samples/directions-complex/src/index.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-// [START maps_directions_complex_script_body]
+// [START maps_directions_complex]
export function initMap() {
var markerArray = [];
@@ -116,4 +116,4 @@ export function attachInstructionText(stepDisplay, marker, text, map) {
stepDisplay.open(map, marker);
});
}
-// [END maps_directions_complex_script_body]
+// [END maps_directions_complex]
diff --git a/samples/directions-complex/src/index.njk b/samples/directions-complex/src/index.njk
index 2a00c95d42..e8ad8fc9fa 100644
--- a/samples/directions-complex/src/index.njk
+++ b/samples/directions-complex/src/index.njk
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
{% extends '../../../shared/layout.njk'%} {% block html %}
-
+