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

Marker with invalid lat, long values are shown in Antartica #1106

Open
6 of 7 tasks
AbhaySBhosale opened this issue Nov 6, 2023 · 0 comments
Open
6 of 7 tasks

Marker with invalid lat, long values are shown in Antartica #1106

AbhaySBhosale opened this issue Nov 6, 2023 · 0 comments

Comments

@AbhaySBhosale
Copy link

Bug report in v4

Please make sure to check the following boxes before submitting an issue.
Issues opened without using this template will be closed unless they have a good reason not to follow this template.

  • All peer dependencies are installed: React, ReactDOM and Leaflet.
  • Using the latest version of React and ReactDOM v18.
  • Using the supported version of Leaflet (v1.8.0 minimum) and its corresponding CSS file is loaded.
  • Using the latest v4 version of React-Leaflet.
  • The issue has not already been reported.
  • Make sure you have followed the quick start guide for Leaflet.
  • Make sure you have fully read the documentation and that you understand the limitations.

Expected behavior

Markers with invalid lat, long values should not be shown in Antartica Or should have way to control there placement

Actual behavior

If we pass invalid lat and long then marker is rendered in Antartica which should not be the case

Please describe.

Steps to reproduce

pass following lat and long values
"ong" : -190.0,
"lat" : -190.0,

If we pass invalid lat and long then marker is rendered in Antartica which should not be the case

Please provide the simplest example possible to reproduce the issue, based on this StackBlitz.

@AbhaySBhosale AbhaySBhosale changed the title Invalid lat, long are shown in Antartica Marker with invalid lat, long values are shown in Antartica Nov 6, 2023
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