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

Openlayers moves marker when click on vector data #2491

Closed
offtherailz opened this issue Dec 15, 2017 · 0 comments · Fixed by #2492
Closed

Openlayers moves marker when click on vector data #2491

offtherailz opened this issue Dec 15, 2017 · 0 comments · Fixed by #2492

Comments

@offtherailz
Copy link
Member

Description

Clicking on map with Openlayers moves the marker to the first coordinate of the clicked feature. This is due to the changes for annotations.

In case of Bug (otherwise remove this paragraph)

Browser Affected
any

Steps to reproduce

  • Open a map with openlayers
  • Add a shape file to the map (polygon or lines)
  • Click at the center of the polygon/line

Expected Result

  • FeatureInfo marker is on the clicked point

Current Result

  • The marker is moved on the first coordinate of the vector.

Other useful information (optional):

Tested with this data

  • Here a sample screenshot
    image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment