[Talk-de] OpenLayer: Linienstärke und Transparenz bei GPX-Dateien

Tobias Wendorff tobias.wendorff at uni-dortmund.de
Di Aug 4 23:11:15 UTC 2009


Ist optional, gebe ich zur Sicherheit aber an, damit Reprojektionen
funktionieren.


Am Di, 4.08.2009, 16:49 schrieb Jan Tappenbeck:
> Hi !
>
> Gibst Du projection: new OpenLayers.Projection("EPSG:4326") immer mit an
> oder wäre das nicht ein optionaler Parameter ???
>
> Gruß Jan :-)
>
> Tobias Wendorff schrieb:
>> Am Di, 4.08.2009, 15:23 schrieb Jan Tappenbeck:
>>
>>
>>> var lgp71454 = new
>>> OpenLayers.Layer.GPX("Hanseatenweg","../gpx_data/71454.gpx","#000000");
>>
>> so mache ich es:
>> OpenLayers.Layer.GPX("Hanseatenweg","../gpx_data/71454.gpx", { format:
>> OpenLayers.Format.GPX, style: {strokeColor: "#000000", strokeWidth: 5,
>> strokeOpacity: 0.5},  projection: new OpenLayers.Projection("EPSG:4326")
>> });
>
>
> _______________________________________________
> Talk-de mailing list
> Talk-de at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk-de
>






Mehr Informationen über die Mailingliste Talk-de