Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'Display an arc' to maps.mdx #566

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

siddie-pennewill
Copy link

@siddie-pennewill siddie-pennewill commented Nov 5, 2024

What?

This adds an example to the Maps Docs on how to drawn an arc between two points.

Why?

A customer asked how to do this and I thought it would be beneficial for other customers
looking to do the same. Polylines and linestrings cannot be curved, so this is a good example to have.

How?

Screenshots (optional)

Anything Else? (optional)

I also created a pull request to add ArcMap.jsx in src/components/examples. This component would need to be used here for the example. #565

Copy link

vercel bot commented Nov 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
documentation ❌ Failed (Inspect) Nov 15, 2024 3:40pm

@kochis
Copy link
Contributor

kochis commented Nov 13, 2024

I think you may need to rebase this with main to get the latest changes to allow it to deploy.

@@ -11,6 +11,7 @@ import CustomLanguageMap from '../../src/components/examples/CustomLanguageMap.j
import CustomPopupMap from '../../src/components/examples/CustomPopupMap.jsx'
import RouteMap from '../../src/components/examples/RouteMap.jsx'
import PolygonMap from '../../src/components/examples/PolygonMap.jsx'
import ArcMap from '../../src/components/examples/ArcMap.jsx'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this file is missing from the pull request

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added the ArcMap.jsx file to this branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants