Can we use 'Snazzy' Google maps?

General questions about CMSimple
Post Reply
Nicky
Posts: 164
Joined: Sun Feb 08, 2009 9:50 am
Location: Antwerp, Belgium

Can we use 'Snazzy' Google maps?

Post by Nicky » Thu Aug 20, 2020 1:30 pm

Nice website to create google maps in any color to fit your design.

I have an API key available.

Is it possible to insert this script in a cmsimple webpage?

Example:

https://snazzymaps.com/style/265611/moli

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Can we use 'Snazzy' Google maps?

Post by Tata » Thu Aug 20, 2020 1:54 pm

Very quick and not tested:
1. create a file e.g. userfiles/map-script.htm
2. copy/insert the generated code in this file.
3. on your webpage create a page e.g. Map with an IFRAME
4. define the source for the IFRAME e.g.

Code: Select all

<iframe src="userfiles/map-script.htm"...><iframe>
The IFRAME may be styled by its own class or ID in your stylesheet.css.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

lck
Posts: 2963
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: Can we use 'Snazzy' Google maps?

Post by lck » Fri Aug 21, 2020 12:37 pm

Nicky wrote:
Thu Aug 20, 2020 1:30 pm
Is it possible to insert this script in a cmsimple webpage?
Remotecontent_XH could be useful here.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Can we use 'Snazzy' Google maps?

Post by cmb » Fri Aug 21, 2020 2:31 pm

From what I can tell, this is just about some fancy styling of Google maps. IIRC, there are Google maps plugins available for CMSimple_XH, so probably you could use that.
Christoph M. Becker – Plugins for CMSimple_XH

Nicky
Posts: 164
Joined: Sun Feb 08, 2009 9:50 am
Location: Antwerp, Belgium

Re: Can we use 'Snazzy' Google maps?

Post by Nicky » Fri Aug 21, 2020 3:15 pm

Of course, it is all about the fancy colours. It used to work until a few months ago. Snazzy announces they can only offer their maps if NOT used with an embed method (which worked fine a while ago).

I have put out a message on (an external Belgian site) freelancers site to help with this, but please feel free if anyone wants to take the "challenge". Does not have to be 'for free'.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Can we use 'Snazzy' Google maps?

Post by cmb » Sun Aug 23, 2020 3:36 pm

Nicky wrote:
Fri Aug 21, 2020 3:15 pm
Of course, it is all about the fancy colours. It used to work until a few months ago. Snazzy announces they can only offer their maps if NOT used with an embed method (which worked fine a while ago).

I have put out a message on (an external Belgian site) freelancers site to help with this, but please feel free if anyone wants to take the "challenge". Does not have to be 'for free'.
I still don't understand where the problem is. On https://snazzymaps.com/style/265611/moli, they offer to "download a simple example". Just copy & paste both <script> elements from the downloaded .html file into your CMSimple_XH template, and add <div id="map" style="width: 750px;height: 500px;"></div> to either the template or a page.
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply