Skip to content

Commit b3681c1

Browse files
update coordinates to path (#777)
Co-authored-by: William French <[email protected]>
1 parent 968efeb commit b3681c1

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

samples/3d-polygon-click-event/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ async function init() {
2727

2828
const examplePolygon = new google.maps.maps3d.Polygon3DInteractiveElement(polygonOptions);
2929

30-
examplePolygon.outerCoordinates = [
30+
examplePolygon.path = [
3131
{ lat: 40.7144, lng: -74.0208 },
3232
{ lat: 40.6993, lng: -74.019 },
3333
{ lat: 40.7035, lng: -74.0004 },

samples/3d-polygon-extruded-hole/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ async function init() {
2727

2828
const examplePolygon = new google.maps.maps3d.Polygon3DElement(polygonOptions);
2929

30-
examplePolygon.outerCoordinates = [
30+
examplePolygon.path = [
3131
{ lat: 40.7144, lng: -74.0208, altitude: 200 },
3232
{ lat: 40.6993, lng: -74.019, altitude: 200 },
3333
{ lat: 40.7035, lng: -74.0004, altitude: 200 }
3434
];
3535

36-
examplePolygon.innerCoordinates = [
36+
examplePolygon.innerPaths = [
3737
[
3838
{ lat: 40.71, lng: -74.0175, altitude: 200 },
3939
{ lat: 40.703, lng: -74.0165, altitude: 200 },

samples/3d-polygon/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ async function init() {
2525

2626
const examplePolygon = new google.maps.maps3d.Polygon3DElement(polygonOptions);
2727

28-
examplePolygon.outerCoordinates = [
28+
examplePolygon.path = [
2929
{ lat: 40.7144, lng: -74.0208 },
3030
{ lat: 40.6993, lng: -74.019 },
3131
{ lat: 40.7035, lng: -74.0004 }

samples/3d-polyline-extruded/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async function init() {
1818
document.body.append(map);
1919

2020
const polyline = new Polyline3DElement({
21-
coordinates: [
21+
path: [
2222
{ lat: 37.80515638571346, lng: -122.4032569467164, altitude: 100 },
2323
{ lat: 37.80337073509504, lng: -122.4012878349353, altitude: 100 },
2424
{ lat: 37.79925208843463, lng: -122.3976697250461, altitude: 100 },

samples/3d-polyline/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async function init() {
1818
document.body.append(map);
1919

2020
const polyline = new Polyline3DElement({
21-
coordinates: [
21+
path: [
2222
{ lat: 37.80515638571346, lng: -122.4032569467164 },
2323
{ lat: 37.80337073509504, lng: -122.4012878349353 },
2424
{ lat: 37.79925208843463, lng: -122.3976697250461 },

0 commit comments

Comments
 (0)