[OpenLayers-Users] OSM-Data to OL-Map

Jan Tappenbeck osm at tappenbeck.net
Mon Feb 8 07:44:54 EST 2010


Am 08.02.2010 13:49, schrieb Tobias Wendorff:
> Hi Jan,
>
> Jan Tappenbeck schrieb:
>> Hallo !
>
> "Hallo" ;-)
>
>> can anybody have a look an help me ?
>
> Orthography or OpenLayers? ;-)
>
> First of all, get some Firefox-Addons like "Firebug" and "Web
> Developer". Those will help you a lot.
>
> Okay, now to your problem:
> protocol: new OpenLayers.Protocol.HTTP({
> url: "myosmfile.osm",   //<-- relative or absolute URL to your .osm file
> format: new OpenLayers.Format.OSM()
> })
>
> Put your file on a webserver - I think, this won't work on local files.
>
> Best regards,
> Tobias


thanks - oder auch danke !

regards Jan :-)




More information about the Users mailing list