Maps for the latlong field

Maps for the latlong field

par Dave Balch,
Nombre de réponses : 4

Hi,

I've a branch of master that adds a geographical map API (MDL-42522), and adapts the latlong field to use it, displaying maps on-page instead of links to external map sites.

See it in action at:

Code available at: https://github.com/Dave-B/moodle/tree/master-maps

I'd like to get this merged into core eventually, but it needs some tidying up first.
Any feedback would be appreciated.

Cheers,
Dave.

Moyenne des évaluations  -
En réponse à Dave Balch

Re: Maps for the latlong field

par Itamar Tzadok,

If you make it a database field type plugin (datafield) it can be readily available to the community even before it is integrated into core and you can get valuable feedback. sourire

 

En réponse à Itamar Tzadok

Re: Maps for the latlong field

par Dave Balch,

Yeah, I was thinking about doing that, but just started with the github links as it's a bit convoluted; It'll need a local plugin for the maps, the latlong modifications (which I'll provide as a new field plugin), and a preset.

I'll post an update when they're available...

En réponse à Itamar Tzadok

Re: Maps for the latlong field

par Dave Balch,

I've created plugins for this, for anyone who doesn't get on with GitHub. I think it's easier to use GitHub, as there are three plugins required:

That said, making the plugins was a useful exercise, as it made me do more testing and make more improvements sourire

Moyenne des évaluations Useful (1)
En réponse à Dave Balch

Re: Maps for the latlong field

par Darren LaRue,

Hi Dave,

Do you have an active site where I could view this plugin in action?  The links give above no longer work.

Thank you,

Darren