admidio icon indicating copy to clipboard operation
admidio copied to clipboard

Map

Open ximex opened this issue 9 years ago • 9 comments

Add an map to show:

  • user home
  • appointments location
  • ...

I could implement the "map" parts. for the logic behind what should be shown on the map i need some help. Libs for maps:

  • http://openlayers.org/
  • http://leafletjs.com/

What is possible:

  • add points, lines, polygons, multi-*
  • add different background layers
  • popups, markers
  • draw/create new features
  • ...

ximex avatar Mar 05 '15 21:03 ximex

That sounds like a very good idea.

My first idea would be to show all addresses of role members on a map.

Fasse avatar Mar 05 '15 21:03 Fasse

some time ago i have made a first implementation: https://github.com/PPOE/piratemap

i think i should make a new better one. My codestyle is better now^^

ximex avatar Mar 05 '15 21:03 ximex

I will wait until Leaflet 1.0 is released. https://www.youtube.com/watch?v=lj4SS1NTqyY https://github.com/Leaflet/Leaflet/milestones/1.0

After that i will look if Leaflet or OpenLayers is better for us

ximex avatar Apr 02 '15 19:04 ximex

https://github.com/PPOE/admidio/tree/austria/adm_program/modules/map

ximex avatar May 07 '15 22:05 ximex

Leaflet 1.0 is finally released: http://leafletjs.com/2016/09/27/leaflet-1.0-final.html OpenLayers is now 3.18.2: https://github.com/openlayers/ol3/releases/tag/v3.18.2

Have to look in detail in the new leaflet version but think we take it

ximex avatar Sep 28 '16 07:09 ximex

Things we need (first implementation):

  • Address to Coordinate converter (Geolocation service: Nominatim)
    • Lib to make requests: https://github.com/rmccue/Requests
    • Nominatim API: https://wiki.openstreetmap.org/wiki/Nominatim
  • Coordinate Data Field (Text with , Separator?)
  • Map
    • Layers: User-Address (for each role?), Event-Location, ...

More?

ximex avatar Sep 28 '16 18:09 ximex

I like Leafletjs 1.0, it works really good.

Also if you need inspiration for a Nominatim Geocoder: https://github.com/JeroenDeDauw/Maps/blob/master/src/Geocoders/NominatimGeocoder.php .

PeterTheOne avatar Sep 28 '16 19:09 PeterTheOne

Show also fotos on map https://www.admidio.org/forum/viewtopic.php?f=20&t=7846

ximex avatar Oct 15 '18 18:10 ximex

I get a page not found on your project link above. Has it changed?

tcarroll2 avatar Jul 11 '19 15:07 tcarroll2