This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Fencus
Fencus

Hi Folks, We just made a plugin with a couple of FormWidgets that make using Google Maps a lot easier. Its very useful for finding addresses, selecting locations and configuring a Google Map in general.

You can find more info about it here:

alxy
alxy

Hi,

one quick suggestion: Rather than providing your own Model, that needs to be extended (for the Extensible Map Model), you should either provide a trait or use ModelBheavior (most Octoberish style): https://github.com/octobercms/library/tree/master/src/Extension

Fencus
Fencus

Hi, yes, you are totally right, next versions will come with a trait, there's a lot of work to add there as well.

Fencus
Fencus

alxy said:

Hi,

one quick suggestion: Rather than providing your own Model, that needs to be extended (for the Extensible Map Model), you should either provide a trait or use ModelBheavior (most Octoberish style): https://github.com/octobercms/library/tree/master/src/Extension

At the end I went for the behavior style. Already implemented in 1.0.3.

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.