My Custom Joomla Module - GPS Location
Last Updated on Thursday, 04 March 2010 13:08
What can I say? I'm a bit of a nerd. Not only do I love computers, I love GPS technology. I love to know precisely where I am on this big blue marble called Earth.
I decided to write this custom Joomla module for two reasons... 1) to let my friends and family know my precise location (since they always write and ask for such information) and 2) to demonstrate to prospective clients that "Yes, I really do know how to write custom modules for Joomla and not just talk about it."
This custom Joomla module isn't complex by any means, but it is a handy little tool that I created so I thought I would share it with anyone who cares to download it.
I presume you know how to download and install Joomla modules, so I will skip to the real meat of this custom Joomla module... after you have it installed, you simply enter your current GPS coordinates in the Joomla Module Parameters section (in the Joomla back-end) along with the description and GPS coordinates for up to eight different points of interest. I chose cities, but you could choose things like your favorite fishing hole, your company's location, etc. It's really up to you.
When the module is viewed from the Joomla front-end (by a website visitor) they will see your current location and the computed distance (in miles) to your selected points of reference. You don't have to do the math... that's what this custom Joomla module does for you.
Click here to download this custom Joomla module
If you enjoy this Joomla module, please send me a note or something. I would love to know how you are using it.
My Current Location
Longitude: -90.25000
Distance to...
Ottumwa, IA
199.45 miles
Denver, CO
786.38 miles
Fort Worth, TX
561.79 miles
Austin, TX
703.47 miles
Miami, FL
1046.65 miles
Red Lodge, MT
1108.43 miles
New York, NY
873.2 miles
Guatemala City
1661.95 miles