Page 1 of 1

Can we use 'Snazzy' Google maps?

Posted: Thu Aug 20, 2020 1:30 pm
by Nicky
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

Re: Can we use 'Snazzy' Google maps?

Posted: Thu Aug 20, 2020 1:54 pm
by Tata
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.

Re: Can we use 'Snazzy' Google maps?

Posted: Fri Aug 21, 2020 12:37 pm
by lck
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.

Re: Can we use 'Snazzy' Google maps?

Posted: Fri Aug 21, 2020 2:31 pm
by cmb
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.

Re: Can we use 'Snazzy' Google maps?

Posted: Fri Aug 21, 2020 3:15 pm
by Nicky
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'.

Re: Can we use 'Snazzy' Google maps?

Posted: Sun Aug 23, 2020 3:36 pm
by cmb
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.