Maps for the latlong field

Maps for the latlong field

napisao/la Dave Balch -
Broj odgovora: 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.

Odgovor na Dave Balch

Re: Maps for the latlong field

napisao/la 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. osmijeh

 

Odgovor na Itamar Tzadok

Re: Maps for the latlong field

napisao/la 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...

Odgovor na Itamar Tzadok

Re: Maps for the latlong field

napisao/la 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 osmijeh