[Chameleon] WMSBrowser: SRS

bartvde at xs4all.nl bartvde at xs4all.nl
Thu May 6 08:22:47 EDT 2004


Hi Paul,

great.

I have another question about the WMSBrowser widget.

Our customer wants a situation in which not every user of an application
has rights on the Manage Servers widget. But all users should have access
to the WMSBrowser widget in order to be able to add external layers to
their application.

Is there an easy way to use a widget parameter to optionally include the
"Manage Servers" into the WMSBrowser dialog?

BTW: there is a small javascript error in mapbrowser_iframe_en.html:

if (obj.options[i].value == documents.forms[0].WMSSERVERS.value)

documents should be document (you won't notice it in Mozilla, but in IE it
prevents the Manage Servers dialog from popping up).

Best regards,
Bart

> Bart,
>
> I'll look at adding an SRS parameter to the widget tag and I'll see if
> the WMSCACHEDIRECTORY should be a mandatory attribute.
>
> Paul
>
> bartvde at xs4all.nl wrote:
>
>> Hi list,
>>
>> I got the WMSBrowser widget to work (such a cool widget BTW), but I had
>> some problems changing the SRS that the WMSBrowser widget uses.
>>
>> It uses by default lat/lon (EPSG:4326) even if your main Chameleon
>> application is in a different SRS. It also uses the LatLonBoundingBox
>> from
>> the capabilities to determine the extents in the preview.
>>
>> Are there any plans to incorporate a SRS attribute into the WMSBrowser
>> widget?
>>
>> I had to hardcode some changes to fit the Dutch RD system into the
>> WMSBrowser widget.
>>
>> Oh, and don't forget to set the following attribute if you plan on using
>> it (it took me some time to figure out why my list of servers was not in
>> the widget):
>> WMSCACHEDIRECTORY="/ms4w/apps/chameleon/data"
>>
>> Best regards,
>> Bart
>> _______________________________________________
>> 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
>



More information about the Chameleon mailing list