TransWikia.com

Smart Map plugin - Get visitor's lat/lng

Craft CMS Asked on March 20, 2021

I’m using the Smart Map plugin but want to render my own maps. All I need is the lat/lng of a visitor yet I can’t find it in the documentation. I don’t want Smart Maps to render the map for me, I just want the lat/lng.

I’m currently using the Geo plugin to do this but it seems a bit silly having both installed.

One Answer

Smart Map can indeed do this! It's currently an undocumented feature, because I wasn't sure if/how it was going to evolve over time. However, that feature has changed very little over the past two years, so perhaps it's time to finally document it. :)

UPDATE: As of Smart Map 2.3, this is now a publicly documented feature.

Answered by Lindsey D on March 20, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP