Adding a link to Arcgis Online maps for Bing Bird's View

144
3
08-10-2020 07:28 AM
2Quiker
Occasional Contributor II

I would like to add a hyperlink to ArcGis Online maps that would allow you to click on the map and open up Bing's Bird's View at that x,y coordinates. I am able to do it with python in Arcmap(url = "https://bing.com/maps/default.aspx?cp={}~{}&style=o&lvl=1&dir=0".format(Y, X) but I am not sure how to pass the x, y in ArcGis Online maps. I have looked at the document and the Rtp parmeter Identifiers but I still can't make it work, anyone have any ideas or has anyone done this that can share code please?

0 Kudos
3 Replies
2Quiker
Occasional Contributor II

I am surprised no one has tried to attempt this. I have attempted to use the html but unsure how to pass the map click on to this.

<div>   
     <div style="white-space: nowrap; text-align: center; width: 500px; padding: 6px 0;">
        <a href="https://www.bing.com/maps?cp=43.65968459156343~-116.64230346679688&amp;sty=r&amp;lvl=11&amp;FORM=MBEDLD" id="largeMapLink" target="_blank">View Larger Map</a>   |  
        <a href="https://www.bing.com/maps/directions?cp=43.65968459156343~-116.64230346679688&amp;sty=r&amp;lvl=11&amp;rtp=~pos.43.65968459156343_-116.64230346679688____&amp;FORM=MBEDLD" id="dirMapLink" target="_blank">Get Directions</a>
    </div>
</div>
0 Kudos
RandyBurton
MVP Regular Contributor

Look at Michael Kelly‌'s script in this thread.  Is this similar to what you want to do?  Or do you want to click on a point feature and have the link provided?

2Quiker
Occasional Contributor II

Yes something similar to how the Google panoramic, but instead of good maps it would open Bing Birds view for the location where you clicked on.When testing the Dynamically create a hyperlink with lat long values in a popup, panoramic view I don't see the picture it's just black, is there a reason why?

0 Kudos