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

Mapbox geocoder [map.addControl(geocoder);] distorts in WordPress #504

Open
NickWavve opened this issue Aug 4, 2023 · 0 comments
Open

Comments

@NickWavve
Copy link

I have added the Mapbox geocoder to my web map in the top-left position and made it collapsible.

image

As raw HTML it looks and works as expected.
image

However, once the code is copied and added into WordPress as a code block it completely distorts.
image

Can't seem to figure out what causes this or how to fix it. Any thoughts?

Here is a copy of the current code:
GeocoderIssue.txt

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

No branches or pull requests

1 participant