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

[Bug]: HTML renders in the Info tool Feature at top #559

Open
fcalef opened this issue Jun 18, 2024 · 0 comments
Open

[Bug]: HTML renders in the Info tool Feature at top #559

fcalef opened this issue Jun 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@fcalef
Copy link
Collaborator

fcalef commented Jun 18, 2024

Checked for duplicates

Yes - I've already checked

Describe the bug

I specified a "useKeyAsName" variable set to a property that contained an HMTL tag () to an image. This allowed an image to be rendered in the mouseover of features, which was as expected. When I used the Info tool to select a feature to look at its properties, the image rendered again in the property list (which was fine), but also in the Feature list at the top, which caused it to awkwardly try to fit it in that space.

What did you expect?

I expected that html would not be rendered in the Feature area at the top of the Info feature list. Also, I expected that a different property would be use as a Feature ID.

Reproducible steps

1. Add IMG HTML tags referencing an image to an GeoJSON feature.
2. Set the "useKeyAsName" variable in the GeoJSON layer to the property with the IMG HTML tags.
2. Click on the feature in the Map.
3. Open the Info tool to see the image referenced in the HTML rendered.

Environment

- MMGIS version 2.11
- Chrome Browser
- Windows 11 OS
@fcalef fcalef added the bug Something isn't working label Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant