Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Map Bounds Are Not Properly Set To Query Map Features #98

Open
saadsaifse opened this issue Sep 18, 2020 · 1 comment
Open

Map Bounds Are Not Properly Set To Query Map Features #98

saadsaifse opened this issue Sep 18, 2020 · 1 comment

Comments

@saadsaifse
Copy link
Contributor

saadsaifse commented Sep 18, 2020

Hi, in the code here the screen coordinates are not set to the correct coordinates for android. Should be set to mpbounds.NorthWest for tl and mpbounds.SouthEast for br

Right now, this function does not return any features

var tl = map.Projection.ToScreenLocation(mpbounds.NorthEast);
var br = map.Projection.ToScreenLocation(mpbounds.NorthEast);
var region = tl.ToRectF(br);
@saadsaifse
Copy link
Contributor Author

Created a pull request already to fix this #99

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant