Store locator / cggooglemaps2

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
musicscore
Power Poster
Power Poster
Posts: 498
Joined: Wed Jan 25, 2006 11:53 am

Store locator / cggooglemaps2

Post by musicscore »

Hey there cmsmadesimple lovers

I have a customer that wants/need a store locator on his website.
I searched for cmsms modules and found that it must be possible to use company director and cggooglemaps2. But than I noticed that cggooglemaps2 was markt as an old module. I tested the module (cmsms 2.2.10 / php 7.3) and noticed that I could not add a map.

So I started seaching the internet for a shop locator scripts but all I found where very complex scripts and Wordpress plugins. ( but as you know, I do not use Wordpress).

Does anyone of you can give me a hint or tip ?
What is the best way to get a store locator on the website ?

I still have to start building the website so any tip is welcome.

TIA
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Store locator / cggooglemaps2

Post by calguy1000 »

CompanyDirectory works fine with CMSMS. Haven't tested CGGoogleMaps2 in a while, but depending on what you want, and what data you have it is not exactly necessary.

i.e: If you have latitude and longitude data for all of your addresses, then you can enter that data into CompanyDirectory and use leaflet to draw the map.

On the other hand, It would not take more than a few hours to update CGGoogleMaps2 .. but now to use Google's maps or geocoding API (to parse addresses into latitude/longitude) an API key and a billing account is necessary. I have not had an inclination to set those up.

BTW: I am currently in the middle of giving CompanyDirectory an overhaul to bring it up to CMSMS 2.x standards. The templates will change a bit, but data will not.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
musicscore
Power Poster
Power Poster
Posts: 498
Joined: Wed Jan 25, 2006 11:53 am

Re: Store locator / cggooglemaps2

Post by musicscore »

Thank you calguy1000 for you answer and update.
So, as a read your message correctly, I only neet CompanyDirector and Leaflet (which I do not know yet).

PS I wanna thank you for all the work you are doing for cmsmadesimple. You get all my respect.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1825
Joined: Wed Feb 25, 2009 4:25 am

Re: Store locator / cggooglemaps2

Post by DIGI3 »

Leaflet is a great option for this, it's what we used for the site featured in a recent CMSMS newsletter: https://newsletter.cmsmadesimple.org/w/ ... qHA763lXhA

We used LISE to store the location information but CompanyDirectory would be fine too. As long as you have the lat/long information you can easily pass it to Leaflet (or another similar JS map library) in your templates.
Not getting the answer you need? CMSMS support options
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Store locator / cggooglemaps2

Post by Rolf »

I use Leaflet at my supplier listings, i.e.
https://pneumatic.tube/suppliers/the-ne ... buizenpost.
It is indeed not that difficult to use, might do a tutorial about it some day. For now PM me for details.

grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
musicscore
Power Poster
Power Poster
Posts: 498
Joined: Wed Jan 25, 2006 11:53 am

Re: Store locator / cggooglemaps2

Post by musicscore »

Rolf, looks realy nice.
What I need is an input field where you can put your address and then the shop locator should show the nearest shops and a map where to find them.

I visit the Leaflet site and I think, with a little puzzeling I might come close.

Thanks for you help so far.
Locked

Return to “Modules/Add-Ons”