From: Guilhem B. <gui...@gm...> - 2009-09-19 08:16:08
|
Hi Geoff, Surprisingly, I'm a viking's maintainer but even many years later I still don't know how Viking works. :-) So, the better is to post your query on the mailing-list. I forward your mail. I'm sure that some contributors can help you, much more better than me. An other way to have support around Map is to give details about the map source. Perhaps is there an easier solution. Is your data proprietary? 2009/9/18 <dof...@ya...>: > Hello Guilhem, > > I hope that you will not mind my mailing you with a query about Viking software. I have written a small addition to the application that permits me to import Marine Chart mapping into the local cache. This turns the wonderful Viking software into a very nice Chart Plotter. > > But I have one bug which I cannot clear despite considerable effort! > > After I have written the new items into the local cache, I call: > > maps_layer_draw ( vml, vvp ); > vik_layer_emit_update ( VIK_LAYER(vml) ); > > Viking reads the local cache and the new mapping is immediately visible in the Viking Viewport at the current Zoom level. But IF, and ONLY IF, the layer was previously empty. > > If there WAS previous content, the above calls do not overwrite it and the new data is not seen. The application must be re-started or the layer transparency (Alpha) changed without restarting. Then the layer is refreshed from the local cache and the new data seen. > > Does a flag need to be set? Is there a further routine which I have missed? > > I would greatly appreciate your advice. > > If I have sent this to the wrong address I apologize, but would be most grateful if you could forward it accordingly. > > Many thanks in advance > Geoff > -- Guilhem BONNEFILLE -=- JID: gu...@im... MSN: gui...@ho... -=- mailto:gui...@gm... -=- http://nathguil.free.fr/ |