This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How to add custom drawings to iD editor’s map?

0

I have some coordinates XY and would like to show a pin (or some other custom image) at those coordinates in iD editor. That pin shouldn't be included in osm changeset, I just want to render it on the map while user is using iD editor. That should look like this: alt text

  • Can this be done with existing iD code?
  • What part of code should be changed/forked to support this scenario?

Thanks!

asked 05 May '21, 13:18

lsecerovic's gravatar image

lsecerovic
21112
accept rate: 0%


One Answer:

1

You probably want to ask this question directly at iD's Github repository.

The TaskManager use this kind of functionality to display square borders, through gpx I think, but I've never seen what you wish for.

Regards.

answered 05 May '21, 14:09

H_mlet's gravatar image

H_mlet
5.4k1781
accept rate: 13%

Source code available on GitHub .