-
Notifications
You must be signed in to change notification settings - Fork 29
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
Cant upload a local image as a layer #18
Comments
I'm trying to overlay an aerial image above my property to increase quality of the labeling. |
I'm not able to reproduce this. Ensure that when passing in bounding box information the coordinates are in the format of "west,south,east,west". Also ensure the decimal place of the numbers is a period and not a comma (some language settings use commas) as this will likely result and very large numbers that cover the whole globe. |
It looks like when using corners you have latitude/longitude reversed. In GIS the common standard is "longitude, latitude" as longitude is often associated with X in the terms of (x,y). I tried the bounding box coordinates you provided and they correctly showed that layer on the map. Note that the Azure Maps Aerial imagery always renders behind other layers. The primary reason for this is that includes vector labels that power the accessibility (screen reader describes the map as it moves). Note that your bounding box is really small (size of a residential property), so you need to zoom in more to see it. In my test, I was barely able to see the image at this bounding box when zoomed out as much as your last image. |
Apologies I forgot to mention my mistake earlier. I appreciate the time you have taken to debug my issue. I would like to share my entire workflow to portray my problem and frustration in making an image show up as a layer over the satellite imagery.
Bounds : −73.488767, 45.460392, −73.481074, 45.462793 The image is saved locally on my machine, with a filename and type of : screenshot.png. Original image was of type JPEG but I saved a screenshot of it to see if PNG would work for me.
Again I thank you again and I hope you may help me in my task and find my mistake. Do I need to host the image on a server before being able to upload it ? Can I see how it looks like when you attempt to recreate my behavior ? |
Well, this was a frustrating one to debug as it worked fine for me yesterday but had the issue today when I used the information you provided in your last post. The culprit... is that you are using a dash instead of hyphen as a negative sign, and the browsers |
OMG thank you so much when using bounds and rotation it works now but for corners it still seems to be finicky for me even after using the correct (-) keyboard input. |
Ok, think I got it this time. I overlooked a past pull request and missed a mistake that was checked in. Crazy enough the code still worked in some cases, but not in other. Should be corrected now. |
Can confirm it is working now, thanks ! |
Can't upload a local image as a layer using both the bounds and rotation and/or the corners.
Instead the image appears as the entire map.
The text was updated successfully, but these errors were encountered: