Skip to content

Commit

Permalink
Merge pull request #24 from JakobMiksch/patch-3
Browse files Browse the repository at this point in the history
Fix WFS example in docs
  • Loading branch information
jahow authored Jan 5, 2024
2 parents 3d6d60c + 205559c commit 4e07d22
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions app/src/Docs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,12 @@
<pre>
import { WfsEndpoint } from '@camptocamp/ogc-client';

new WfsEndpoint('https://my.server.org/ows')
.then(endpoint => endpoint.supportsJson());</pre
>
new WfsEndpoint("https://my.server.org/ows")
.isReady()
.then(
(endpoint) => console.log(endpoint.getFeatureTypes())
)
</pre>
</CodeBlock>
</p>

Expand Down

0 comments on commit 4e07d22

Please sign in to comment.