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

PictureMarkerSymbols with offsets are being placed on the map without the offsets being used #154

Closed
anotherlab opened this issue Apr 3, 2023 · 1 comment · Fixed by #159

Comments

@anotherlab
Copy link

If you add a PictureMarkerSymbol with xOffset and/or yOffset values, they are not used and the symbol appears to be drawn with offsets of 0.0, 0.0

In the screenshot show below, the blue marker uses no offsets, the green marker uses positive offsets, and the red marker uses negative offset. They all appear as if they uses 0 for the offset values

image

I have created a standalone app to demonstrate the problem. The repo is https://github.com/anotherlab/geoblazer-issue-2-marker-offsets. You will need to add your own ESRI API key and that information is included in the README.md file.

Tested under Windows 11 with Windows and Android as target platforms. Compiled with VS 2022 17.5.3 and GeoBlazor 2.0.2-Beta 2

@TimPurdum
Copy link
Collaborator

@anotherlab found the issue, stupid simple, xoffset where it should be xOffset. Unfortunately we tend to lose string safety when crossing the border between C# and JS. I will let you know as soon as there is a beta or release with a fix.

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 a pull request may close this issue.

2 participants