Hi I have built a map on ArcGIS Online, shared it with Everyone. I am trying to embed it in a website now, but am getting the Map is not available in the frame. I click the chainlink in the upper right side of the map, and then copy the html code onto my webpage. It's is like it is working for a few minutes at pulling it up, but then is just white with that message. Anyone else figure a work around?
Yes, I am building this one on the ESRI.com webmap interface. I clicked the chainlink "share" icon and this is the url link that I can email to others: http://bit.ly/fLc2gc
Now, when I click that chainlink for share again and I select embed in my web site. I copy that html code into my webpage, but the frame comes back with the message "This Map is not Availible". So it looks like the frame is working, but something in the connection within that html code is not working. Seems like this part should be pretty simple, and I think that is how ESRI meant it to be. I have made the map public to share as well.
You've found a bug! We have a problem displaying image services when embedded. This won't be fixed until we release the next update to arcgis.com early next year. The workaround is to remove the image service layer:
Thanks for the update, unfortunately that is what I am wanting to serve for now, so will have to use java scripting, or silverlight ,etc and create a web-app. Was just trying the simple way first, so I will look forward to the next release when this if fixed. Glad to be of service to help you find the bugs.:)
You've found a bug! We have a problem displaying image services when embedded. Mike
Mike - I've stored 2 maps on ArcGIS.com. One uses the ArcGIS.com imagery basemap, the other uses the Bing Roads basemap. I shared both publicly, and selected Embed in Personal Site. I then copied each html code and pasted it into an e-mail.
When I click on the link to the imagery map, it eventually loads, though it briefly says "this map is not available"
When I click on the link to the roads-only map, it says "this map is not available" and NEVER loads.
There appear to be 2 links within the above code - the first to the map as it should appear, the second one to the page where I can build a map. Should the entire block of code be added to a web page, or where should it be broken into 2 blocks?
No, it should only be one block of code. I'm not sure how the extra spaces are getting introduced when you copy and paste the code block.
What you should see in the dialog window is this code. The bold red text below shows where an extra space is getting inserted, but shouldn't. Compare it to the code you pasted in. I've removed it here.
The short term solution is to just remove the spaces and it should just work. When I open your map and copy the embed code, I don't get any extra spaces in the embed code. What browser and version are you using? Where are you copying the code into? Maybe there are some differences.
When you look at the code in the dialog box in arcgis.com, are there spaces already there for you? I'm guessing not.
Another option would be to try pasting the code into Notepad and seeing what it looks like. Are there extra spaces?
Mike - forget the extra spaces, they're being added when I paste my code into the ArcGIS forum chat window. When I look at the code I have on my computer, there are no spaces.
So we're back to square 1.
FYI, here's what I've been doing. 1 - publish & share map 2 - Copy code from "embed in web site" window, the code we've been talking about 3 - Paste that code into a new e-mail message 3a - Save the e-mail as a draft (but not sent) 4 - Open the e-mail message, Ctrl-click to test the links 5 - The one block of code appears to have 2 links, see attached JPEG "roads_code" 6 - When I click on the first link, it takes me to the site shown in attached JPEG "roads2" 6a - when I click on the second link, it takes me to the site shown in attached JPEG "roads1" 7 - Here are the 2 URLs, copied from Firefox - http://www.arcgis.com/home/webmap/embedViewer.html?webmap=17bc60b3d4084eaab11c42406e9ff186&bing=...