Skip to content

Commit

Permalink
fix: Adds region tags to index.njk (#1680)
Browse files Browse the repository at this point in the history
* Adds region tags to index.njk

Adds region tags for the inner gmp-map and gmp-marker components for a tutorial.

* Update index.njk

changed _gmp_map suffix to _div.

* Update index.njk

changed the region tags to not use {{TAG}} since it doesn't seem to like that(?)
  • Loading branch information
willum070 authored Mar 21, 2024
1 parent a35571d commit 08da45c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/web-components-markers/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
SPDX-License-Identifier: Apache-2.0
-->
{% extends '../../src/_includes/layout.njk'%} {% block html %}
<!-- [START maps_web_components_markers_div] -->
<gmp-map center="43.4142989,-124.2301242" zoom="4" map-id="DEMO_MAP_ID">
<gmp-advanced-marker position="37.4220656,-122.0840897" title="Mountain View, CA"></gmp-advanced-marker>
<gmp-advanced-marker position="47.648994,-122.3503845" title="Seattle, WA"></gmp-advanced-marker>
</gmp-map>
<!-- [END maps_web_components_markers_div] -->
{% endblock %}

0 comments on commit 08da45c

Please sign in to comment.