Skip to content

Commit e83ab6f

Browse files
committed
Oops, missed a whole lot of geospatial code snippets!
1 parent e368f5d commit e83ab6f

7 files changed

+89
-73
lines changed

source/includes/sdk-examples/crud/read-define-geospatial-shapes-box.rst

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,46 +4,46 @@
44
- id: cpp-sdk
55
content: |
66

7-
.. literalinclude:: /examples/generated/cpp/crud.snippet.read-map-value.cpp
7+
.. literalinclude:: /examples/MissingPlaceholders/api.cpp
88
:language: cpp
9+
:copyable: false
910

1011
- id: csharp
1112
content: |
1213

13-
.. literalinclude:: /examples/MissingPlaceholders/example.cs
14+
.. literalinclude:: /examples/generated/dotnet/Geospatial.snippet.geobox.cs
1415
:language: csharp
15-
:copyable: false
1616

1717
- id: dart
1818
content: |
1919

20-
.. literalinclude:: /examples/generated/flutter/data_types_test.snippet.map-work-with.dart
20+
.. literalinclude:: /examples/generated/flutter/geospatial_data_test.snippet.geobox.dart
2121
:language: dart
2222

2323
- id: java
2424
content: |
2525

26-
.. literalinclude:: /examples/MissingPlaceholders/example.java
26+
.. literalinclude:: /examples/MissingPlaceholders/api.java
2727
:language: java
2828
:copyable: false
2929

3030
- id: java-kotlin
3131
content: |
3232

33-
.. literalinclude:: /examples/MissingPlaceholders/example-java-kotlin.kt
33+
.. literalinclude:: /examples/MissingPlaceholders/api-java-kotlin.kt
3434
:language: kotlin
3535
:copyable: false
3636

3737
- id: javascript
3838
content: |
3939

40-
.. literalinclude:: /examples/generated/node/data-types.snippet.query-a-dictionary.js
40+
.. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geobox.js
4141
:language: javascript
4242

4343
- id: kotlin
4444
content: |
4545

46-
.. literalinclude:: /examples/generated/kotlin/ReadTest.snippet.read-realm-dictionary.kt
46+
.. literalinclude:: /examples/generated/kotlin/Geospatial.snippet.geobox.kt
4747
:language: kotlin
4848

4949
- id: objectivec
@@ -62,6 +62,5 @@
6262
- id: typescript
6363
content: |
6464

65-
.. literalinclude:: /examples/MissingPlaceholders/example.ts
65+
.. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geobox.ts
6666
:language: typescript
67-
:copyable: false

source/includes/sdk-examples/crud/read-define-geospatial-shapes-circle.rst

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,46 +4,46 @@
44
- id: cpp-sdk
55
content: |
66

7-
.. literalinclude:: /examples/generated/cpp/crud.snippet.read-map-value.cpp
7+
.. literalinclude:: /examples/MissingPlaceholders/api.cpp
88
:language: cpp
9+
:copyable: false
910

1011
- id: csharp
1112
content: |
1213

13-
.. literalinclude:: /examples/MissingPlaceholders/example.cs
14+
.. literalinclude:: /examples/generated/dotnet/Geospatial.snippet.geocircle.cs
1415
:language: csharp
15-
:copyable: false
1616

1717
- id: dart
1818
content: |
1919

20-
.. literalinclude:: /examples/generated/flutter/data_types_test.snippet.map-work-with.dart
20+
.. literalinclude:: /examples/generated/flutter/geospatial_data_test.snippet.geocircle.dart
2121
:language: dart
2222

2323
- id: java
2424
content: |
2525

26-
.. literalinclude:: /examples/MissingPlaceholders/example.java
26+
.. literalinclude:: /examples/MissingPlaceholders/api.java
2727
:language: java
2828
:copyable: false
2929

3030
- id: java-kotlin
3131
content: |
3232

33-
.. literalinclude:: /examples/MissingPlaceholders/example-java-kotlin.kt
33+
.. literalinclude:: /examples/MissingPlaceholders/api-java-kotlin.kt
3434
:language: kotlin
3535
:copyable: false
3636

3737
- id: javascript
3838
content: |
3939

40-
.. literalinclude:: /examples/generated/node/data-types.snippet.query-a-dictionary.js
40+
.. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geocircle.js
4141
:language: javascript
4242

4343
- id: kotlin
4444
content: |
4545

46-
.. literalinclude:: /examples/generated/kotlin/ReadTest.snippet.read-realm-dictionary.kt
46+
.. literalinclude:: /examples/generated/kotlin/Geospatial.snippet.geocircle.kt
4747
:language: kotlin
4848

4949
- id: objectivec
@@ -62,6 +62,5 @@
6262
- id: typescript
6363
content: |
6464

65-
.. literalinclude:: /examples/MissingPlaceholders/example.ts
65+
.. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geocircle.ts
6666
:language: typescript
67-
:copyable: false

source/includes/sdk-examples/crud/read-define-geospatial-shapes-polygon.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,46 +4,47 @@
44
- id: cpp-sdk
55
content: |
66

7-
.. literalinclude:: /examples/generated/cpp/crud.snippet.read-map-value.cpp
7+
.. literalinclude:: /examples/MissingPlaceholders/api.cpp
88
:language: cpp
9+
:copyable: false
910

1011
- id: csharp
1112
content: |
1213

13-
.. literalinclude:: /examples/MissingPlaceholders/example.cs
14+
.. literalinclude:: /examples/generated/dotnet/Geospatial.snippet.geopolygon.cs
1415
:language: csharp
15-
:copyable: false
1616

1717
- id: dart
1818
content: |
1919

20-
.. literalinclude:: /examples/generated/flutter/data_types_test.snippet.map-work-with.dart
20+
.. literalinclude:: /examples/MissingPlaceholders/example.dart
2121
:language: dart
22+
:copyable: false
2223

2324
- id: java
2425
content: |
2526

26-
.. literalinclude:: /examples/MissingPlaceholders/example.java
27+
.. literalinclude:: /examples/MissingPlaceholders/api.java
2728
:language: java
2829
:copyable: false
2930

3031
- id: java-kotlin
3132
content: |
3233

33-
.. literalinclude:: /examples/MissingPlaceholders/example-java-kotlin.kt
34+
.. literalinclude:: /examples/MissingPlaceholders/api-java-kotlin.kt
3435
:language: kotlin
3536
:copyable: false
3637

3738
- id: javascript
3839
content: |
3940

40-
.. literalinclude:: /examples/generated/node/data-types.snippet.query-a-dictionary.js
41+
.. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geopolygon.js
4142
:language: javascript
4243

4344
- id: kotlin
4445
content: |
4546

46-
.. literalinclude:: /examples/generated/kotlin/ReadTest.snippet.read-realm-dictionary.kt
47+
.. literalinclude:: /examples/generated/kotlin/Geospatial.snippet.geopolygon.kt
4748
:language: kotlin
4849

4950
- id: objectivec
@@ -62,6 +63,5 @@
6263
- id: typescript
6364
content: |
6465

65-
.. literalinclude:: /examples/MissingPlaceholders/example.ts
66+
.. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geopolygon.ts
6667
:language: typescript
67-
:copyable: false

source/includes/sdk-examples/crud/read-query-with-geospatial-shapes-box.rst

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,54 @@
44
- id: cpp-sdk
55
content: |
66

7-
.. literalinclude:: /examples/generated/cpp/crud.snippet.read-map-value.cpp
7+
.. literalinclude:: /examples/MissingPlaceholders/api.cpp
88
:language: cpp
9+
:copyable: false
910

1011
- id: csharp
1112
content: |
1213

13-
.. literalinclude:: /examples/MissingPlaceholders/example.cs
14+
.. literalinclude:: /examples/generated/dotnet/Geospatial.snippet.geobox-query.cs
1415
:language: csharp
15-
:copyable: false
1616

1717
- id: dart
1818
content: |
1919

20-
.. literalinclude:: /examples/generated/flutter/data_types_test.snippet.map-work-with.dart
20+
.. literalinclude:: /examples/generated/flutter/geospatial_data_test.snippet.geobox-query.dart
2121
:language: dart
2222

2323
- id: java
2424
content: |
2525

26-
.. literalinclude:: /examples/MissingPlaceholders/example.java
26+
.. literalinclude:: /examples/MissingPlaceholders/api.java
2727
:language: java
2828
:copyable: false
2929

3030
- id: java-kotlin
3131
content: |
3232

33-
.. literalinclude:: /examples/MissingPlaceholders/example-java-kotlin.kt
33+
.. literalinclude:: /examples/MissingPlaceholders/api-java-kotlin.kt
3434
:language: kotlin
3535
:copyable: false
3636

3737
- id: javascript
3838
content: |
3939

40-
.. literalinclude:: /examples/generated/node/data-types.snippet.query-a-dictionary.js
40+
.. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geobox-query.js
4141
:language: javascript
4242

4343
- id: kotlin
4444
content: |
4545

46-
.. literalinclude:: /examples/generated/kotlin/ReadTest.snippet.read-realm-dictionary.kt
47-
:language: kotlin
46+
.. io-code-block::
47+
48+
.. input:: /examples/generated/kotlin/Geospatial.snippet.geobox-query.kt
49+
:language: kotlin
50+
51+
.. output::
52+
53+
Companies in large box: 1
54+
Companies in small box: 2
4855

4956
- id: objectivec
5057
content: |
@@ -62,6 +69,5 @@
6269
- id: typescript
6370
content: |
6471

65-
.. literalinclude:: /examples/MissingPlaceholders/example.ts
72+
.. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geobox-query.ts
6673
:language: typescript
67-
:copyable: false

source/includes/sdk-examples/crud/read-query-with-geospatial-shapes-circle.rst

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,54 @@
44
- id: cpp-sdk
55
content: |
66

7-
.. literalinclude:: /examples/generated/cpp/crud.snippet.read-map-value.cpp
7+
.. literalinclude:: /examples/MissingPlaceholders/api.cpp
88
:language: cpp
9+
:copyable: false
910

1011
- id: csharp
1112
content: |
1213

13-
.. literalinclude:: /examples/MissingPlaceholders/example.cs
14+
.. literalinclude:: /examples/generated/dotnet/Geospatial.snippet.geocircle-query.cs
1415
:language: csharp
15-
:copyable: false
1616

1717
- id: dart
1818
content: |
1919

20-
.. literalinclude:: /examples/generated/flutter/data_types_test.snippet.map-work-with.dart
20+
.. literalinclude:: /examples/generated/flutter/geospatial_data_test.snippet.geocircle-query.dart
2121
:language: dart
2222

2323
- id: java
2424
content: |
2525

26-
.. literalinclude:: /examples/MissingPlaceholders/example.java
26+
.. literalinclude:: /examples/MissingPlaceholders/api.java
2727
:language: java
2828
:copyable: false
2929

3030
- id: java-kotlin
3131
content: |
3232

33-
.. literalinclude:: /examples/MissingPlaceholders/example-java-kotlin.kt
33+
.. literalinclude:: /examples/MissingPlaceholders/api-java-kotlin.kt
3434
:language: kotlin
3535
:copyable: false
3636

3737
- id: javascript
3838
content: |
3939

40-
.. literalinclude:: /examples/generated/node/data-types.snippet.query-a-dictionary.js
40+
.. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geocircle-query.js
4141
:language: javascript
4242

4343
- id: kotlin
4444
content: |
4545

46-
.. literalinclude:: /examples/generated/kotlin/ReadTest.snippet.read-realm-dictionary.kt
47-
:language: kotlin
46+
.. io-code-block::
47+
48+
.. input:: /examples/generated/kotlin/Geospatial.snippet.geocircle-query.kt
49+
:language: kotlin
50+
51+
.. output::
52+
53+
Companies in large circle: 1
54+
Companies in small circle: 0
4855

4956
- id: objectivec
5057
content: |
@@ -62,6 +69,5 @@
6269
- id: typescript
6370
content: |
6471

65-
.. literalinclude:: /examples/MissingPlaceholders/example.ts
72+
.. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geocircle-query.ts
6673
:language: typescript
67-
:copyable: false

0 commit comments

Comments
 (0)