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

Add spatial objects on top of bing maps #3

Open
elgabbas opened this issue Aug 10, 2023 · 1 comment
Open

Add spatial objects on top of bing maps #3

elgabbas opened this issue Aug 10, 2023 · 1 comment

Comments

@elgabbas
Copy link

Hello,

I found this package very interesting for me. However, it is possible to use the resulting map as a base map for other spatial objects. I need to plot sf objects (points/polygons) on top of the resulting map. Is it possible?

Thanks.

@elipousson
Copy link
Owner

With the standard Bing Maps imagery, it is definitely doable. I'd look at this mapboxapi function as a possible model (the function may be a little broken in the main repo but you could check out my repository for the updated code. I'd recommending checking the Bing Static Map API documentation to see if it has comparable features as the Mapbox API.

Using the Birds Eye imagery is definitely more difficult. You can access a bounding box for the underlying imagery but I'm not sure there is good metadata on the bearing and pitch of the imagery and you'd need that extra information to adjust the geometry of an sf object for an overlay. Potentially you could use something like the {layer} package to do this?

Let me know if you figure this out!

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

2 participants