Jürgen,

I was already afraid, that I had  to make it like this.
Anyway: Great and helpfull answer!

Dankeschön,
Benedikt.



                                                                           
             Jürgen Dankoweit                                              
             <Juergen.Dankowei                                             
             [email protected]>                                             An 
                                         [email protected]                
             15.09.2012 14:48                                        Kopie 
                                         [email protected]  
                                                                     Thema 
              Bitte antworten            Re: [OpenLayers-Users] Scale Text 
                    an                   when zooming                      
             Juergen.Dankoweit                                             
               @T-Online.de                                                
                                                                           
                                                                           
                                                                           
                                                                           




Hello Benedikt,

Am 15.09.2012 12:41, schrieb [email protected]:
>
> Hi
>
> I'd like to use Openlayers to create labels inside of some boxes.
> When the user zooms in or out, the boxes become smaller or bigger and the
> labels shall remain inside these boxes. I.e the labels shall become
smaller
> or bigger also.
>

The best way is that you use OpenLayers.Rules for scaling the text size.

Look here:
http://www.dankoweit.de/Wetterdienste/hp_wetterdienste_auswahlkarte_stationen_de.html

and here:
http://www.dankoweit.de/Skripte/meteoauswahl.js
at line 184


> Benedikt

I hope this helps

Best regards

Jürgen


>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users


--
Meine stets unfertige Homepage: www.dankoweit.de


_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to