[geotk] Set Max Resolution

sorel johann johann.sorel at geomatys.fr
Thu Dec 1 03:26:16 EST 2011


I see what you mean.

unfortunatly we don't have this feature at this time.


johann


On 30/11/2011 21:58, Arnaud Vandecasteele wrote:
> I  Johann,
>
> Thank you for your answer.
> In fact I don't want to set it in the rules but more in the MapContext.
> I would like to be able to stop the zoom control after a specified resolution.
> Like the maxResolution parameters in the OpenLayers Lib [1].
> Do you know how I can do that ?
>
> Best regards
>
> Arnaud
>
> [1] http://dev.openlayers.org/releases/OpenLayers-2.11/doc/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.maxResolution
>
> On Wed, Nov 30, 2011 at 8:22 PM, sorel johann<johann.sorel at geomatys.fr>  wrote:
>> You can set the min/maxScaleDenominator on style rules if that's what you
>> are looking for.
>>
>> example here, Line 543 :
>> http://hg.geotoolkit.org/geotoolkit-pending/file/211cb7b03c39/demos/geotk-demo-samples/src/main/java/org/geotoolkit/pending/demo/symbology/Styles.java
>>
>> johann
>>
>>
>> On 30/11/2011 14:01, Arnaud Vandecasteele wrote:
>>> Hi all,
>>>
>>> I would like to know if it's possible to set the maximal resolution of a
>>> map.
>>> The answer must be simple but I can't find it in the API.
>>>
>>>
>>> Regards
>>>
>>> Arnaud
>>> _______________________________________________
>>> Geotoolkit mailing list
>>> Geotoolkit at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/geotoolkit
>>
>> _______________________________________________
>> Geotoolkit mailing list
>> Geotoolkit at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/geotoolkit
>
>



More information about the Geotoolkit mailing list