开发者

Display XAML image in WebBrowser control

开发者 https://www.devze.com 2023-03-11 14:12 出处:网络
What I want to achieve is a navigation-like or google-maps-like effect (using new Windows Phone Developer Tools 7.1).

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 开发者_如何学Goof how to do it? I'll be really, really grateful.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消