compassinformatics / cpsi-mapview

GNU General Public License v3.0
6 stars 14 forks source link

Add Icon to Coordinate Center Tool #487

Closed geographika closed 2 years ago

geographika commented 3 years ago

cpsi-mapview uses the BasiGX.view.panel.CoordinateMousePositionPanel in the bottom toolbar:

https://github.com/compassinformatics/cpsi-mapview/blob/7becdc33cb590a6546ef05e9986244d390c7b6a0/app/view/toolbar/MapFooter.js#L22

image

The old mapview UI included assitional functionality to place an icon at the centre of the map when using the coordinate tool. The icon could then be click to remove it from the map - see gif:

Pavement Management System

The BasiGX.view.panel.CoordinateMousePositionPanel could be subclassed to add this functionlality (or added as an option to the BasiGX component?).

jansule commented 2 years ago

Partially solved in https://github.com/terrestris/BasiGX/pull/699

jansule commented 2 years ago

Fully solved with https://github.com/compassinformatics/cpsi-mapview/pull/589