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

Default no map found #169

Open
leojaimes opened this issue May 23, 2019 · 5 comments
Open

Default no map found #169

leojaimes opened this issue May 23, 2019 · 5 comments
Assignees

Comments

@leojaimes
Copy link

How are you?

How can I know when the seat map API (ticketevolution/seatmaps-client) is not going to show map?

Is there some property or callback that allow knowing when seat map is not going to show map?

I want to replace the default image seating chart is not available for another one.

Thank you

@jwcobb
Copy link
Contributor

jwcobb commented Jun 25, 2019

My suggestion would be that maybe we just allow users to pass in a URL to an alternate no-chart-available image.

@leojaimes
Copy link
Author

I want to know where We can change the text in the seat no map found.
Is possible to have a function to set a new text or new text-font/styling on the seat no map found?

@mxweaver
Copy link
Contributor

mxweaver commented Jul 9, 2019

Hi @leojaimes, thanks for reporting this issue. The feature you're describing is definitely something we've thought about, but it is currently not supported. For now, your script could determine if the map is available byfetch()ing the image. If the image is available, the map server should respond with a status code of 200. For example:

fetch(`https://maps.ticketevolution.com/${venueId}/${configurationId}/map.svg`).then(response => {
  if (response.status === 200) {
    // the map is available
  } else {
    // the map is not available
  }
})

@mxweaver mxweaver self-assigned this Jul 9, 2019
@mxweaver mxweaver closed this as completed Aug 6, 2019
@latortuga
Copy link

I humbly request that you re-open this issue and add support for this. The default "alien UFO" photo is....not great and with no built-in way to override, this solution is a bit hacky.

@jwcobb jwcobb reopened this Sep 19, 2023
@jwcobb
Copy link
Contributor

jwcobb commented Sep 19, 2023

This is SEAT-284 in Jira.

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

No branches or pull requests

4 participants