New Plugin: Location Enhancer 1.1
-
Email: Chmouel Boudjnah <[email protected]>
WWW: http://www.chmouel.com/wp/
Zip: http://www.chmouel.com/wp/download/?file=location-1.0.tar.gz
Tarball: http://www.chmouel.com/wp/download/?file=location-1.0.tar.gz
Description:
Add Location and Country meta field to the article and help to get latitude and longitude with theses information on the admin screen.
Generate a world map with a mark of the longitude and latitude point.
-
oups the adress should be :
for the tarball:
http://www.chmouel.com/wp/download/?file=location-1.1.tar.gz
for the zip:
http://www.chmouel.com/wp/download/?file=location-1.1.zip
go on http://www.chmouel.com/wp/index.php?p=56 to read more about this plugin.oh another comment go on :
http://www.chmouel.com/wp/
To see how it works on action.it’s kind of hard to generate map of the US state (or any particuliar defined part of the world) without the vector data information . you can read more about this at :
http://www.phpbuilder.com/columns/moss20040209.php3Great plugin! I had a problem with the javascript not being found all the time with my permalink setup. Adding a “/” in front of wp-location/wz_tooltip.js fixed the problem. The only thing I’m going to try to modfiy now is to show the actual map once it’s been generated in the edit screen.
One other thing I just had to change…the wp-location/cache directory wasn’t being found all the time, so I created a new variable called $abfile that’s just the same as file with a “/” prepended. I’m using the original $file to check to see if an image exists, and $abfile is what actually gets passed to the page HTML.
One request…do you have a copy of a larger version of that map?
That’s pretty cool. I agree that more detailed (of smaller area?) maps would be ideal.
Perhaps one could store multiple map graphics and their coordinate maps in an array, and the system could determine which one to use based on which map covered the smallest area? Just thinking aloud.I fixed the permalink problem just yesterday before seeing your post and upload a 1.3.
See the README for the link where to find bigger map :http://www.chmouel.com/wp/index.php/archives/2004/07/20/enhance-location-and-country-in-wordpress/
For a more detailled of all the posts it should be pretty easy to do if i got time i will post the code.There is a new version 1.4 that have the points on the big map see on the web page :
http://www.chmouel.com/wp/index.php/archives/2004/07/20/enhance-location-and-country-in-wordpress/
for more information how to generate big picture.Nice improvements! I’ve made one more change where instead of clicking to see the generated map, it automatically shows. I suppose that could be bad for slow connections, but it’s great for my use.
You should not need to have to click to see the generated map it should show when your :hover the mouse on the link.
Sorry, that wasn’t very clear…I meant on the edit page, not the post itself.
I’m working on a modification right now where I’ve got the world map divided into six sections, and the plugin will select which one to use based on the lattiude and longitude so that you can get a more detailed map. Hopefully it’ll be ready today sometime.Sorry, that wasn’t very clear…I meant on the edit page, not the post itself.
I’m working on a modification right now where I’ve got the world map divided into six sections, and the plugin will select which one to use based on the lattiude and longitude so that you can get a more detailed map. Hopefully it’ll be ready today sometime.would be great if you can post the URL for the patch for this….
Ok, I’ve made a complete .zip file with all my changes and bumped the version to 1.5. You can download the new version at:
http://www.henrymalmgren.com/location-1.5.zip
Minor changes include changing the javascript to make the tooltip appear a bit lower on the screen (useful for larger images), and the generated image file is now shown by default on the editing screen.
The major change is that there is now the option of using six image files of the globe (included) to show a more detailed area of the globe. The plugin knows which file to use based on the lattitude and longitude. If you don’t like this feature, you can switch back to the original working by changing a configuration variable in one of the php files.
I removed the resize feature from the last version (1.4) because I’ve found that it doesn’t matter what size image map you use, as long as it has a ratio of 2:1 for the single map and 4:3 for the smaller ones.
To see the output of the new larger detail feature, look at these two posts:
http://www.theglobalguy.com/se-asia/singapore/
http://www.theglobalguy.com/usa/ive-really-missed-austin/
The topic ‘New Plugin: Location Enhancer 1.1’ is closed to new replies.