Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
185 views
in Technique[技术] by (71.8m points)

javascript - Putting a marker in an embedded bing map

I am using bing maps to show a map of the business's location on my clients website. At the moment this is only showing the map (with the correct area), but without the pushpin or marker on where the business is.
I have done searching and I found this previous answer link, however this was back in 2013, and while the documentation page is still active it appears to be out of date.
Currently my code looks like this

 <iframe className="map" frameborder="0" 
src="https://www.bing.com/maps/embed?h=400&w=500&cp=47.68442596126309~-117.38606404275737&pushpins=47.68442596126309~-117.38606404275737&lvl=16&typ=d&sty=r&src=SHELL&FORM=MBEDV8"
 scrolling="no" title="map">

I tried adding the pushpins as it said in the documentation, but none appear.
The page with the map can be viewed in production here website
And my full code is viewable here https://github.com/Imstupidpleasehelp/spokane-power-stroke
Any help or suggestions you would have would be appreciated, thank you.

question from:https://stackoverflow.com/questions/65878966/putting-a-marker-in-an-embedded-bing-map

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...