NASA-AMMOS / NASA-AMMOS/MMGIS

[Bug]: Default hotspot for pin icon is in the wrong place

Open
#516 2 comments 0 reactions 1 assignee View on GitHub

@tariqksoliman is already working on this.

Since Mar 20, 2024.

bug
Dominant language
JavaScript
Stars
232
Forks
77
Avg merge
3d 6h
Merged PRs (30d)
17

Description

Checked for duplicates

Yes - I've already checked

Describe the bug

When I rendered point geometry with the "pin" shape and compared it to the "circle" shape rendering for the same layer, I could see the "pin" was not rendering in the right place.

What did you expect?

The hotspot for the pin should be at the point (bottom center) while the hotspot for most other things should be in the center.
Screenshot 2024-03-20 at 3 11 26 PM

Reproducible steps
1. Make two vector layers with a point in the same location.  Choose the shape of one to be pin and the other to be circle, same radius.
Environment

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.