Consul: Improve custom city map configuration from admin section

Created on 27 Mar 2018  路  4Comments  路  Source: consul/consul

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

Admin Good first issue

Most helpful comment

Of course @IngridWong0715! All yours! 馃帀 馃槍

All 4 comments

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

Of course @IngridWong0715! All yours! 馃帀 馃槍

@IngridWong0715 Are you still working on this issue?

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bertocq picture bertocq  路  7Comments

bertocq picture bertocq  路  7Comments

decabeza picture decabeza  路  6Comments

vinxenxo picture vinxenxo  路  4Comments

andion picture andion  路  5Comments