Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Easy Google Maps 'Plugin' for Silverstripe


Go to End


24 Posts   15844 Views

Avatar
Fuzz10

Community Member, 791 Posts

19 November 2009 at 3:15am

Bump .. works like a charm !

If we end up using it in the site we are currently working on ... I'll definitely let you know...

Avatar
MikeOne

Community Member, 40 Posts

19 November 2009 at 3:22am

Ah - great to hear. After the latest version I haven't really looked at it anymore (I moved on to other things). However, if you find issues or have feature requests, please feel free to post them here and I'll develop it further.

Avatar
Tomase

Community Member, 16 Posts

3 December 2009 at 9:54am

Very nice and easy :-)

I have one question: Is it possible to add more than one mark in the same map?
if yes, how?
if now, it would be nice if someone could give me a tips or solution how to make it possible.

Ã¥t

Avatar
MikeOne

Community Member, 40 Posts

3 December 2009 at 10:07pm

Hi Tomase,

I have been thinking about the ability to add more than one point. It is however, due to the way it has been coded, not very easy to do. I will have to change the format in which the map markers are being stored in the map DIV so it excepts an array of points instead of just one point. The back-end (TinyMCE) side of things will also need quite some adapting.

It does seem worthwhile though to implement so I'll see If I have some time coming week to put that in. If someone else wants to to have a go, please do so and share the upgrade.

Best regards,
Mike.

Avatar
Tomase

Community Member, 16 Posts

3 December 2009 at 10:58pm

Thats great! If you find at solution so fast it would superb :-)

Ã¥t

Avatar
roterl

Community Member, 44 Posts

6 December 2009 at 11:41am

Edited: 06/12/2009 11:42am

Hi MikeOne,

I created a module that allow you to call php function from the content, and as a example I put Google Map. It allow you to add as many maps as you like in a page and add as many markers for each map.
To add map on the admin's page content it need to write $Embed(GoogleMap,-28.643387,153.612224,8) with the relevant details of course.
It don't work with the TinyMCE and you dont see the div at the editor (and also I'm not UI guy so make it wotk will take me a lot of time).
(http://ssorg.bigbird.silverstripe.com/all-other-modules/show/274910?showPost=274910#post274910&flush=1)

Maybe we can join forces and make it work better. multiple maps with multiple markers, polygons, etc.. (with visual editing of course).

Rotem.

Avatar
cumquat

Community Member, 201 Posts

12 December 2009 at 4:06am

Edited: 12/12/2009 4:17am

Just wanted to say thanks for this, works like a dream.

Mick

Avatar
EricW

Community Member, 6 Posts

24 December 2009 at 5:44am

Hey Mike,
I am trying to make this work. I downloaded your original zip before I noticed your second version. The first seemed to install correctly but when I inserted a map it would only display a gray square. So I came back to the forum and realized that you had another version. I downloaded it and tried to place the folders in the correct place on my local machine. when i did this i received an error saying that the system cannot find the path specified. Have any idea what I am doing wrong?