[OpenLayers-Users] Antwort: Re: Scale Text when zooming
umn-ms at hydrotec.de
umn-ms at hydrotec.de
Sat Sep 15 11:32:51 PDT 2012
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
t at T-Online.de> An
umn-ms at hydrotec.de
15.09.2012 14:48 Kopie
openlayers-users at lists.osgeo.org
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 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