consuldemocracy icon indicating copy to clipboard operation
consuldemocracy copied to clipboard

Improve custom city map configuration from admin section

Open voodoorai2000 opened this issue 6 years ago • 4 comments

Context

There are two kinds of maps available:

  • The OpenStreet map used to geolocate proposals.
  • The City Map used for example in the Budget's section to navigate investments

The OpenStreet map is already configurable from the admin section and the City Map is also configurable from admin but it needs some improvements

What

On /admin/geozones:

  1. Include help text:

Include an image with the districts or areas of your city and add coordinates to the HTML image map for users to navigate.

You can include this map with <%= render shared/map, new_url_path: custom_path %> in any view.

  1. Allow uploading a map image with this help text:

Add a new image to replace the current one

  1. Change table header Coordinates to Coordinates of the HTML image map.

  2. Display the clickable map image in the admin section

How

Updating texts and preview in /admin/geozones

Notes

You can use free tool https://www.image-map.net/ in order to generate image coordinates.

Screenshots

admin_geozones_map

admin_geozones_map_2

voodoorai2000 avatar Mar 27 '18 21:03 voodoorai2000

Hi @voodoorai2000 ! I'd like to work on the issue if that's okay. Please let me know!

IngridWong0715 avatar Jun 29 '18 03:06 IngridWong0715

Of course @IngridWong0715! All yours! 🎉 😌

decabeza avatar Jun 29 '18 08:06 decabeza

@IngridWong0715 Are you still working on this issue?

javierm avatar Oct 20 '19 19:10 javierm

@javierm No I'm not, sorry for the lack of communication!

IngridWong0715 avatar Oct 21 '19 13:10 IngridWong0715