[OpenLayers-Users] Scale Text when zooming
Jürgen Dankoweit
Juergen.Dankoweit at T-Online.de
Sat Sep 15 05:47:44 PDT 2012
Hello Benedikt,
Am 15.09.2012 12:41, schrieb umn-ms at hydrotec.de:
>
> 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
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
--
Meine stets unfertige Homepage: www.dankoweit.de
More information about the Users
mailing list