Am 11.03.2010 20:17, schrieb Teemu Koskinen:
> On Thu, 11 Mar 2010 18:44:42 +0200, Chris Browet<c...@semperpax.com>
> wrote:
>
>> Better still, make it "osm://openstreetmap.org/edit?lat=xxxxx&lon=xxxxx".
>>
>> Merkaartor or any other editor could be registered for this URL scene,
>> too...
>
> And include the complete api-url, so that the scheme could be used without
> having to hardcode the api-url in the applications, enabling it to work on
> other apis (eg. api06.dev).

So it would be one of
  * <osm://api.openstreetmap.org/api/0.6/map?bbox=left,bottom,right,top>
  * <osm://api.openstreetmap.org/api/0.6/[node|way|relation]/#id>
  * <osm://api.openstreetmap.org/api/0.6/trackpoints?bbox=...>

Is there a clean way to register such protocol handler from java? I 
found http://mindprod.com/jgloss/protocolhandler.html but I don't know 
if this works outside of the jvm.

Peter

_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev

Reply via email to