在 WebBrowser 控件中显示 XAML 图像
我想要实现的是类似导航或类似谷歌地图的效果(使用新的 Windows Phone 开发人员工具 7.1)。
我已将矢量图像(地图的一部分)转换为 XAML 文件。我想以导航中已知的方式在网络浏览器控件(或任何其他控件)中显示它 - 可以放大和缩小,并可以在其周围移动。
谁能建议我该怎么做?我会非常非常感激。
What I want to achieve is a navigation-like or google-maps-like effect (using new Windows Phone Developer Tools 7.1).
I've got a vector image (a piece of a map) converted to a XAML file. I'd like to display it in the webbrowser control (or any other) in the way that is known from navigations - with the possibility to zoom in and out, and to shift around it.
Can anyone advice me of how to do it? I'll be really, really grateful.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 WriteableBitmap 在地图的独立存储中创建位图,并使用 img 标签将其显示在浏览器中。
You can use WriteableBitmap to create a bitmap in isolated storage of your map and use an img tag to display it in the browser.