rtercias / foreign-field

Territory app for foreign language field
https://www.foreignfield.com
0 stars 6 forks source link

add territory map view #22

Closed rtercias closed 4 years ago

rtercias commented 4 years ago

In the single Territory view, add a toggle that switches between the current address list view and a map view. Map view needs to be created using OpenStreetMaps (avoid Google as it is not free).

rtercias commented 4 years ago

Let's take a look at Leaflet also... might be easier to work with: https://travishorn.com/interactive-maps-with-vue-leaflet-5430527353c8

benscriptstheweb commented 4 years ago

added the boiler plate for leaflet. do we want a route to a separate 'map page' or will the view be integrated with the address list in Territory.vue?

rtercias commented 4 years ago

good question. Let's add a route:

/territories/{:group}/{:id}/map