Page MenuHomePhabricator

Add property editing in Maps VE
Open, MediumPublic

Description

Map's GeoJSON VE editor needs to allow editing of the properties, similar to how it is done in http://geojson.io/, but with a different interface. That site uses this code (BSD), and internally it is based on leaflet.draw.

  • Show object's properties in a side bar
  • Creating new object uses properties of the last created or edited object of the same type
  • For marks (pushpins), show all available icons visually, without any text, on the sidebar (scrollable)
    • available maki icons (used to be here, but now that page promotes future maki 2.0 set)
    • marker-symbol may also be a number 0..99 (as string), or a letter a..z (lower case only)
    • Kartographer-specific customization - marker-symbol value may be any string if it begins with -number or -letter, in which case it will be automatically converted to a number or letter. The entire string in that case functions as a group identifier - which means the same map can have multiple counters, e.g. -number-museums and -number-restaurants, each showing as separate indexes. It would usually be better to show them in different colors to differentiate.

Event Timeline

Yurik raised the priority of this task from to Needs Triage.
Yurik updated the task description. (Show Details)
Yurik added projects: Maps (Kartographer), Maps.
Yurik added subscribers: Yurik, Esanders, MaxSem, TheDJ.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald Transcript
Yurik set Security to None.
Yurik triaged this task as Medium priority.Feb 5 2016, 11:59 PM
Yurik renamed this task from Add editing capability to <maps> in VE to Add Visual GeoJSON editing capability.Feb 7 2016, 7:21 PM

Change 268969 had a related patch set uploaded (by Yurik):
(WIP) Interactive GeoJSON Editor, help is welcome

https://gerrit.wikimedia.org/r/268969

Change 268969 merged by jenkins-bot:
VisualEditor: Interactive GeoJSON editor

https://gerrit.wikimedia.org/r/268969

Yurik renamed this task from Add Visual GeoJSON editing capability to Add GeoJSON property editing in Maps VE.Feb 24 2016, 3:52 AM
Yurik updated the task description. (Show Details)
Yurik removed a project: Patch-For-Review.
Yurik renamed this task from Add GeoJSON property editing in Maps VE to Add property editing in Maps VE.Mar 5 2016, 4:39 PM