Armin Burger-2 wrote:
>
> For my tests it worked correctly, but there might be some situations
> where overlapping Ajax requests did not end in the correct order. I
> will see if I will implement the possibility in the dev version for
> 3.3 since I do not want to add things any more to the current nearly
> final 3.2
>
> armin
>
> On Dec 5, 2007 8:22 AM, <[EMAIL PROTECTED]> wrote:
>>
>> Armin,
>>
>> It seems it works fine except one thing:
>>
>> When I activate (click on a checkbox) a layer in TOC, sometime it doesn't
>> show in legend untill I activate another layer. I am not able to realize
>> teh
>> exact behaviour/logic because sometimes it works, sometimes not;
>> sometimes
>> when I activate another layer both the layers show in legend; sometimes
>> it
>> stays on legend even I deactivate it, ...
>>
>> Otherwise, it looks very good and pretty clearly to users. Really great!
>>
>> regards, dejan
>>
>> Armin Burger <[EMAIL PROTECTED]> wrote on 03.12.2007 22:58:25:
>>
>>
>>
>> > so a quick hack would be
>> >
>> > - xmlhttp.js:
>> > * function updateMap(murl):
>> > add at the end of the function the line:
>> > swapToLegendView();
>> >
>> > * updateTocScale(tocurl)
>> > comment out 1 line:
>> > //swapToLegendView();
>> >
>> > * function swapLegend(tocurl):
>> > comment out 1 line:
>> > //$('#toc').hide();
>> >
>> >
>> > - map.phtml:
>> > modify to (take care to set the line breaks again):
>> >
>> > <!-- WEST -->
>> > <div id="west">
>> > <div id="toclegend" class="TOC" style="<?php echo
>> > ($_SESSION['userAgent'] == "mozilla" ? "height:100%" :
>> > "height:auto;overflow:hidden") ?>; display:none;">pippo</div>
>> > </div>
>> >
>> > <!-- EAST -->
>> > <div id="east" class="TOC">
>> > <!-- LEGEND/TOC -->
>> > <div id="tocContainer">
>> > <form id="layerform" method="get" action="">
>> > <div id="toc" class="TOC" style="<?php echo
>> > ($_SESSION['userAgent'] == "mozilla" ? "height:100%" : "height:auto")
>> > ?>;"></div>
>> >
>> > </form>
>> > </div>
>> > </div>
>> >
>> > config(_default).ini:
>> > legStyle = swap
>> >
>> > - js_config.php:
>> > set values for
>> > Layout.WestWidth = 200;
>> > Layout.EastWidth = 200;
>> > Layout.MarginInnerVertW = 8;
>> >
>> > This way it should work...
>> >
>> > you could rename the modified xmlhttp.js to zxmlhttp.js. This way you
>> do
>> > not risk to get it lost after an upgrade to a newer p.mapper version.
>> > map.phtml is anyway considered as a usual file for customizations, so
>> to
>> > save it before an upgrade should be clear.
>> >
>> > armin
>> >
>> >
>> > [EMAIL PROTECTED] wrote:
>> > >
>> > > Good question Armin! It is not simply a curiosity of course. Let's
>> say
>> > > It is a "desirable" requirement, so if this is not complicated for
>> me
>> to
>> > > implement (and for you to explain), I would be glad to know.
>> > >
>> > > Thanks very much
>> > >
>> > > regards, dejan
>> > >
>> > > [EMAIL PROTECTED] wrote on 03.12.2007
>> 19:25:01:
>> > >
>> > > > Do you want to simply know it for curiosity in case you once
>> might
>> want
>> > > > it, or do you need it? It is possible but requires minor code
>> > > > modifications in a few files (some commenting out and a few new
>> lines in
>> > > > 1 file) to have it customized for a specific application. For
>> more
>> > > > generic solution it had to be defined in more accurate way.
>> > > >
>> > > > armin
>> > > >
>> > > > [EMAIL PROTECTED] wrote:
>> > > > > Hi,
>> > > > >
>> > > > > I have a question that is not pretty important but would still
>> like to
>> > > > > know: is it (simply) possible to have a legend displayed on
>> "west"
>> > > and TOC
>> > > > > on "east" side of the map?
>> > > > >
>> > > > > thanks
>> > > > >
>> > > > > regards, dejan
>> > > > >
>> > >
>> -------------------------------------------------------------------------
>> > > > > SF.Net email is sponsored by: The Future of Linux Business
>> White
>> Paper
>> > > > > from Novell. From the desktop to the data center, Linux is
>> going
>> > > > > mainstream. Let it simplify your IT future.
>> > > > > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
>> > > > > _______________________________________________
>> > > > > pmapper-users mailing list
>> > > > > [email protected]
>> > > > > https://lists.sourceforge.net/lists/listinfo/pmapper-users
>> > > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> -------------------------------------------------------------------------
>> > > > SF.Net email is sponsored by: The Future of Linux Business White
>> Paper
>> > > > from Novell. From the desktop to the data center, Linux is going
>> > > > mainstream. Let it simplify your IT future.
>> > > > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
>> > > > _______________________________________________
>> > > > pmapper-users mailing list
>> > > > [email protected]
>> > > > https://lists.sourceforge.net/lists/listinfo/pmapper-users
>> >
>>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell. From the desktop to the data center, Linux is going
> mainstream. Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> pmapper-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>
In version 3.2 final, works the same it?
-----
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
--
View this message in context:
http://www.nabble.com/Legend-and-TOC-on-different-sides-tp14130826p17446473.html
Sent from the pmapper users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users