By Date: <-- -->
By Thread: <-- -->

switching views



Julien and Paul, thanks.
 
How do I set up the legend template to control groups? What should be added in my map file so that I can have to groups?
 
Thanks.

Paul Spencer <pspencer (at) dmsolutions.ca> wrote:
Or the legend template could be set up to control groups and you
could have two groups in your map file ...

Paul

On 8-Feb-06, at 10:06 AM, Julien-Samuel Lacroix wrote:

> Hi,
>
> Do you have a LegendTemplate widget in your application? This may
> simplify the _javascript_ to use.
>
> If you don't want to use _javascript_, I think it should be
> relatively easy to build a simple and custom widget that simply
> turn on/off the two layers via php/mapscript. You can check the web
> documentation for examples o! f widget customization.
>
> Julien
>
> JR Santillan wrote:
>> Hello fellow chameleon users.
>> I would to seek your help regarding turning on and off layers.
>> In my map, I am aiming to have two views: a graphical view and an
>> aerial view. How do I make it such that a user will only have to
>> click a link in the page and will transform the view from a
>> graphical one (shape files) to an aerial one (aerial
>> pphotograph). I have seen a campus map of MIT (http://
>> whereis.mit.edu/map-jpg >> url=""
>> jpg&Horde=37be496d6af69b5651d122cd40b96a90>) that employs this
>> kind of method.
>> I believe the principle here is that I only have to turn off the
>> graphical layers and then
>> turn on the aerial photograph layer when the view is switched...
>> But how will I do it? How do I make a link in my html file that
>> will turn on the photo layer and turn off the
>> others, and vice versa?
>> I tried having two sets of map files.. one for shape file layers
>> and the other for the
>> aerial photograph.. However, I think it was not useful because
>> when the view is switched, the scale at which the map is displayed
>> before the switch was not preserved.
>> I consulted Jacob Delfos about this and he said the solution is
>> though the use of _javascript_s. But I am nowhere at _javascript_.
>> Please help.
>> By the way I'm using MS4W.
>> Thanks in advance.
>> Regards,
>> Jojin
>> ---------------------------------------------------------------------
>> ---
>> Brings words and photos together (easily) with
>> PhotoMail >> photomail.mail.yahoo.com> - it's free and works with Yahoo! Mail.
>> ---------------------------------------------------------------------
>> ---
>> _______________________________________________
>> Chameleon mailing list
>> Chameleon (at) lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/chameleon
> _______________________________________________
> Chameleon mailing list
> Chameleon (at) lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>

+-----------------------------------------------------------------+
|Paul Spencer pspencer (at) dmsolutions.ca |
+-----------------------------------------------------------------+
|Applications & Software Development |
|DM Solutions Group Inc http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+




_______________________________________________
Chameleon mailing list
Chameleon (at) lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon



   xxxxxx
                   When you have eliminated the possible,
what remains is the impossible.
                    ;;;;;;;;
 


Yahoo! Mail
Use Photomail to share photos without annoying attachments.
_______________________________________________
Chameleon mailing list
Chameleon (at) lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon