[elm-discuss] Re: Image navigation and interaction

2016-09-08 Thread OvermindDL1
http://package.elm-lang.org/packages/elm-lang/svg/1.1.1/Svg#image Or via just 'node' if you want a custom node. Just pass in the normal SVG information as needed. :-) On Thursday, September 8, 2016 at 6:18:17 AM UTC-6, Jan Weidner wrote: > > Thanks for all the suggestions. I skimmed over svg

[elm-discuss] Re: Image navigation and interaction

2016-09-08 Thread Jan Weidner
Thanks for all the suggestions. I skimmed over svg and found out how build an image from scratch by drawing circles and polygons etc. However I did not spot a function to load an image from file, am I missing something? On Wednesday, September 7, 2016 at 8:49:08 PM UTC+2, John Bugner wrote: > >

[elm-discuss] Re: Image navigation and interaction

2016-09-07 Thread John Bugner
The old graphics library is here: http://package.elm-lang.org/packages/evancz/elm-graphics/1.0.0 I say 'old' though, because it's been deprecated (and (re)moved from elm-lang's account to Evan's personal account). You should use svg instead. (Also, a warning if you insist on trying to use the c

[elm-discuss] Re: Image navigation and interaction

2016-09-07 Thread OvermindDL1
The elm-graphics library does it. I'd lean more on SVG though, it is efficient at showing only parts of an image. I'd still break the image up into parts though, but svg might still be faster for rendering regardless. On Wednesday, September 7, 2016 at 7:29:21 AM UTC-6, Jan Weidner wrote: >

[elm-discuss] Re: Image navigation and interaction

2016-09-07 Thread Jan Weidner
Thanks! How do I use canvas from elm? Is there a canvas elm example somewhere? On Wednesday, September 7, 2016 at 3:03:59 PM UTC+2, Charlie Koster wrote: > > The first thing I'll mention is writing your own map application is a huge > undertaking. But it doesn't hurt to try with Elm :) > > Have

[elm-discuss] Re: Image navigation and interaction

2016-09-07 Thread Charlie Koster
The first thing I'll mention is writing your own map application is a huge undertaking. But it doesn't hurt to try with Elm :) Have you considered rendering that huge map image on a canvas? Image manipulation on a canvas might give you better performance. -- You received this message because y