Schonhose

Home | PP Addons| Gallery | Photoblog

GoogleMap Addon

download
Download: STABLE
Version: 2.0
Updated: February 15, 2008
Pixelpost version: 1.7 +
Size: 201.97 KB
Downloads: 784

Support This Addon?

If you like this addon, please consider a donation through Paypal. More info can be found in the right sidebar.

Introduction

Google Maps for Pixelpost GoogleMap is a robust Google Map Pixelpost addon that puts a great amount of control in your hands. And most importantly: It doesn’t matter if your images have embedded GPS data or not.

The GoogleMap addon is a Pixelpost addon that allows the owner to give GPS locations to their images regardless if they have GPS equipment or not. The addon was created with the casual photographer in mind, who may or may not know much about GPS or even what it stands for!

GoogleMap is based upon the jbgMap (short for Jon Bulava’s Google Map) written by Jon Bulava. Jon has done an excellent job of providing the basic structure. Since then I made several updates to his code and decided to rename the whole project to GoogleMap starting from version 2.

The administration side allows the owner to navigate a Google Map and manually place a marker where each picture was taken. The GPS data of this marker is stored in the Pixelpost database and processed without any sticky conversions or in-depth knowledge. Once a photo has a location, it’s ready to be shown on the main map that your viewers see.

You can see an example of the users point of view at my photoblog. (Note: the current version on display is the development version!)

Release notes:

THIS VERSION IS NOT COMPATIBLE WITH JBGMAP. IT WILL HOWEVER UPDATE EVERYTHING TO REFLECT THE NEW STRUCTURE. YOU NEED TO CHANGE YOUR TEMPLATE TAGS AND YOU CAN’T GO BACK TO THE OLD ADDON!!!! READ THE MANUAL CAREFULLY BEFORE INSTALLING!!!

By downloading this addon you agree to the disclaimer.

 

Trackback
Trackback

65 responses

Geweldige addon, ik heb het nu volledig draaiend (na mijn

Thijs (Mythrill) | October 30, 2007

Geweldige addon, ik heb het nu volledig draaiend (na mijn blunder op het PP forum) en ook de eerste mensen die het gezien hebben zijn er laaiend enthousiast over.

Keep up the good work (maar dat zit wel goed las ik net op je blog)!
Thijs

Bedankt Thijs! Het gaat inderdaad helemaal goed komen met Googlemap.

Dennis | November 2, 2007

Bedankt Thijs! Het gaat inderdaad helemaal goed komen met Googlemap. Binnenkort zal ik de code eens grondig onder de loep nemen en verbeteringen doorvoeren. De ontwikkelingen staan niet stil. :D

Hi there, I've just uploaded your Google maps addon - it's

Tom | February 12, 2008

Hi there,

I’ve just uploaded your Google maps addon – it’s fantastic, so thank you very much.

A quick query – is there a way to change the google maps bubble display to show entry time and date info rather than exif info?

Thanks again for your hard work,

Tom

Hi Tom, What do you mean exactly? Does it show the

Dennis | February 14, 2008

Hi Tom,

What do you mean exactly? Does it show the date/time from the exif and you want to change that to the date/time you posted it?

[...] the last few weeks I made quite a few

.::Schonhose.nl::. » Googlemaps update | February 26, 2008

[...] the last few weeks I made quite a few improvements to the Googlemaps addon for Pixelpost. Today I finally managed to do something that has been on the list for nearly a year [...]

Hi Dennis, Thanks for getting back to me about this. Turns

Tom | February 27, 2008

Hi Dennis,

Thanks for getting back to me about this. Turns out it was simply a minor glitch – a couple of images weren’t showing up with date information, but now they are – I had thought it was because I’d uploaded images which didn’t contain exif date information, but everything seems to be working fine now.

Thanks again for your wonderful script. And please do consider making the clustering addon public – it looks like it’s a fantastic addition to an already great bit of work.

Thanks,

Tom

[...] strony, dodałem geolokalizację zdjęć na mapie google. GoogleMap addon

Look’n'read » Blog Archive » GoogleMap | March 2, 2008

[...] strony, dodałem geolokalizację zdjęć na mapie google. GoogleMap addon jest do ściągnięcia tutaj, a więcej informacji można znaleźć na forum pixelposta Read [...]

[...] new improved Googlemaps addon is getting real close to

.::Schonhose.nl::. » Update wednesday | March 12, 2008

[...] new improved Googlemaps addon is getting real close to being final now. The code has been working for quite some time on my blog [...]

Please release the third version to the public. Pulling coordinates

beej | April 12, 2008

Please release the third version to the public. Pulling coordinates from embedded gps exif data would be amazing!

Thanks so much!

Hi, Problem: when I go on the admin addon-page, the addon

Mattia Gobbi | April 14, 2008

Hi,

Problem: when I go on the admin addon-page, the addon always try to create the database table, and he shows the error.. (googlemap table alreay exist)

What can I do? :P

Thanks and thanks for all the work!

Mattia, what version of MySQL do you have? If the

Dennis | April 16, 2008

Mattia, what version of MySQL do you have? If the table exists I can also piont out the line you need to comment out to make it work. (e.g. stop the creation of the table). However, I do find this odd as you are the first with this problem.

MySQL version: 4.1.18 ;)

Mattia Gobbi | April 16, 2008

MySQL version: 4.1.18 ;)

First we have to establish why the addon wants to

Dennis | April 16, 2008

First we have to establish why the addon wants to create/upgrade. Can you provide me with the exact error statement?

Hi, I had the same problem as Mattia. After adding the

Nadja | April 25, 2008

Hi,

I had the same problem as Mattia. After adding the addon and log in into the admin panel the message: “Table ‘pixelpost_GoogleMap’ already exists” appeared. Several times I droped the table but every time it happend the same error. Once I deleted the old jbp addon and the jbp table, it worked – so it seems there is maybe a problem with the upgrade?

Thanks for all your work!
Nadja

Aha, well this might be a problem. You have to

Dennis | April 25, 2008

Aha, well this might be a problem. You have to remove the old JBGMap addon. Because if you don’t remove it the JBGMap addon recreates the JBGmap table again and the Googlemap addon thinks it needs to upgrade again.

This obviously doesn’t work because the upgrade process already created the table, hence the “Table ‘pixelpost_GoogleMap’ already exists” message appears.

This part of the step is not covered in the documentation. I’ll add that ASAP. Thanks for pointing this out Nadja.

Thx, now it works perfectly !

Mattia Gobbi | April 25, 2008

Thx, now it works perfectly !

Dennis, thanks a lot for this great addon. I have

Uwe | May 12, 2008

Dennis, thanks a lot for this great addon. I have installed it today and it runs absolutely flawless (well as soon as I’ve had cleared up some of my messy css in the copied browse template ;) ).

Regards
Uwe

Thank you for this great PP Addon =D

Mirco | May 14, 2008

Thank you for this great PP Addon =D
It Works Great on my .
I’m looking forward, for the next Version 3.0 ;^) of your wonderful Addon.

Hey very nice addon, just installed it on my

Emil Munthe | May 15, 2008

Hey very nice addon, just installed it on my photoblog, and it works great.

I just noticed that google maps, got a new function, where you can show picture and wikipedia articles on the map. I was wondering if you knew how to get your own pictures on display on googles official map?

[...] Download [...]

5 Great Pixelpost Addons - PhotoblogStyle | June 5, 2008

[...] Download [...]

Dennis, Op de eerste plaats wil ik je bedanken voor het

André Bouwhuis | June 18, 2008

Dennis,

Op de eerste plaats wil ik je bedanken voor het fantastische werk dat je doet voor Pixelpost. Ik ben maar een kleine hobbiest maar ik het het voor elkaar gekregen om je googlemap addon te integreren in mijn website. (had ik nooit gedacht ;-) )
Nogmaals hartelijk dank hiervoor.

André, glad to hear it is working for you.

Dennis | June 22, 2008

André, glad to hear it is working for you. :-D

Dennis, Just one question. Is it possible to remove markers from

André Bouwhuis | June 23, 2008

Dennis,

Just one question. Is it possible to remove markers from the map, and if yes how?

Regards,
André

If you're trying to remove a marker for a particular

Dennis | June 24, 2008

If you’re trying to remove a marker for a particular image, go to your image list in your adminpanel, click the image you want to edit and click on the Googlemap option in the submenu (located at the top of the imagelist).

At the bottom of the page there should be a delete button.

[...] to a great addon from Dennis it is now

accessible - blog » Blog Archive » Google Maps | July 20, 2008

[...] to a great addon from Dennis it is now possible to view the image locations via Google Maps. Simply use the link “View on [...]

Thanks a lot! It is exactly what I need. I

Martin | August 4, 2008

Thanks a lot! It is exactly what I need. I will try it for my next holiday album.

I have not downloaded the plugin yet, but it looks

ashu | August 12, 2008

I have not downloaded the plugin yet, but it looks great. The only thing I can not understand is why there is only one entry into the map page. It seems that there is only a global map with clusters of different photo’s.

Is it also possible to get a zoomed in map with photo’s from 1 category or tag?
Is it also possible to click from 1 phone and see (zoomed in) on a map where that photo was taken? Maybe with the other near photo’s around it as well?

Ashu, have you read the manual? There are multiple entries

Dennis | August 13, 2008

Ashu, have you read the manual? There are multiple entries into the map: one being an overview, the other being a zoomed in view of the location where the image was taken.
The latter would be the “click from one photo and see (zoomed in) on a map where that photo was taken”. It won’t display the other locations.

In this version it isn’t possible to see a photo per category or tags.

[...] Feature: Show on map Thanks to a great addon

New Feature: Show on map : accessible.de | August 19, 2008

[...] Feature: Show on map Thanks to a great addon from Dennis it is now possible to view the image locations via Google Maps. Simply use the link “View on [...]

Thx for fixing my problem with your addon so fast,

Arndt | September 11, 2008

Thx for fixing my problem with your addon so fast, dennis – I highly recommend that sort of support. May all your scripts work as a charm in future!

Hi there, First, thanks for this great script. Second - can

Tom | November 20, 2008

Hi there,

First, thanks for this great script. Second – can you help me to get it to work with my blog’s template? :-)

I must admit this is the first time I’ve tried to do anything clever with PHP in some time, so I hope you’ll forgive any obvious mistakes. I’m using the Supaclean template which as you can see uses Javascript and CSS to ‘slide’ comments/image details/the image into place, depending on the button pressed. Obviously this means all the data is loaded at into the page at once, which means I need to load the Google map for the image when the page is loaded, hide it in another layer, and show it when the ‘view on map’ link is clicked.

What I don’t understand – and I’m sure this is just because I’m not familiar enough with how Pixelpost addons work (and I have RTFM, honest!) – is how I get the tags for the Googlemap plugin to be replaced in that single page as well as the Pixelpost tags.

If you go here and click the ‘view on map’ link at the top, you’ll see that it slides the layer in – which is what I want (though obviously the layer is currently empty). All the Pixelpost tags are filled in correctly (exif, comments, details etc).

If you go here, you’ll see that the ‘view on map’ link works (sizing problems notwithstanding), but all the other Pixelpost tags (the comments, the details, the image, the exif) are not being replaced.

My question is where I make this change so that these tags are populated, and the page works as expected. I’m sure this isn’t a terribly difficult one, but any assistance would be very gratefully received.

My thanks again, and apologies for the lengthy post.

Tom

Hi, Very nice addon and very good job. I am uplaoaded and

David | January 24, 2009

Hi,

Very nice addon and very good job.

I am uplaoaded and make tests; without placing my pictures, everything with working. I was able to see the MAP.
Since I have “located” some picture. I have 2 errors (?).
See http://www.phocale.com/index.php?x=googlemap
- Code 0 line 22
- Code 0 line 107
I can not solve this issue and will appreciate your input.

Regards,
David

David, you'll be glad to know that you have installed

Dennis | January 24, 2009

David, you’ll be glad to know that you have installed the googlemap addon correctly. The debug info tells me that everything is working. I’ve checked the source code and discovered the issue.

One of your pictures has as title: Glacier “La Meije”, Alps, France. The double quotes in the title are causing the problem. I can either fix this in the code of the addon, but a quick fix for now is using single quotes. If you prefer the fix in the addon, please let me know. I’ll have a look at it asap.

While I was at it I found one more issue with your HTML. You made a typo in the tag <SITE_TITLE>.

Thanks a lot. It is now working perfectly ;-)

David | January 24, 2009

Thanks a lot. It is now working perfectly ;-)

I have a slight problem, I got this add-on to

Wyatt Hatfield | February 7, 2009

I have a slight problem, I got this add-on to work correctly, but the zoom level isn’t working like it says in the manual. Any tips/ideas? I have the latest version of pixelpost and your add-on. Any suggestions?

Wyatt, please provide some more info. What are you doing,

Dennis | February 7, 2009

Wyatt, please provide some more info. What are you doing, and what does it do? Please provide the steps of what you’re trying to accomplish.

[...] I found editing the theme to be pretty easy,

[insert witty title here] » Blog Archive » Photoblog Take 2 | February 26, 2009

[...] I found editing the theme to be pretty easy, I’m toying with the idea of installing this add-on, which enables visitors to see where photos were taken on a Google Map.  I was interested in [...]

Hey! This addon is great! But the clustering is a bit

Pelar | March 16, 2009

Hey!

This addon is great! But the clustering is a bit of a struggle for me. How did you get the blue circles in the map? Or is that an additional addon?

Peet

Hi Pelar, the blue circles are part of a major

Dennis | March 17, 2009

Hi Pelar, the blue circles are part of a major update I did a few months back. These updates are not available for download.

Yeah I noticed that in an other post of yours.

Pelar | April 1, 2009

Yeah I noticed that in an other post of yours. You ain’t gonna publish it, right? Even not if the users are willing to pay you?

Nope, basically money isn't the issue. I write a lot

Dennis | April 1, 2009

Nope, basically money isn’t the issue. I write a lot of free stuff and publish it into the public domain for everyone to use. I would never charge money for applications I write. You know why? Even with free stuff people come looking for support. The comments on some addons are proof of that. Most of the time I like helping people, but sometimes I’m just busy with other stuff. Stuff that , or at least in my mind, is more important than supporting some addon I wrote. So in time I’ll answer or fix the problem, but don’t expect me to answer right away.

However, if you force ask people to pay for your stuff, they expect more in return. That is human nature, they paid for it so they want support. Since I cannot give support 24/7 I have simply decided not to ask money for any of my addons.

Needless to say I’ll never will too. So the stuff that is available freely can be used freely and I help people with it when needed. Stuff I feel is way to advanced (and would lead to many questions) I simply keep to myself. Hopefully this makes sense.

It's clear to me. While you were placing this comment

Pelar | April 1, 2009

It’s clear to me. While you were placing this comment I send you an e-mail but you can delete it. It’s obvious in this way and if you change your mind, please let me be the first to know :)

Keep up the good work! Love your work.

Peet

Petar, thanks for both your mail and your comment. I

Dennis | April 5, 2009

Petar, thanks for both your mail and your comment. I have been quite busy so that is the reason for the late response. Thanks for your kind words.

Hi Dennis, this is a great app and I love

Steve Procter | April 11, 2009

Hi Dennis, this is a great app and I love it BUT when tagging my pics with either ROBOGeo or GeoSetter the addin doesnt read the EXIF data?? I can add it manually once uploaded, but it would be great if I could GEOTAG the entire folder first.
Is there any solution to this please m8?
I wouldnt mind making a donation if you can help ;)
Thanks in Advance
Steve

Hey Dennis, Took a while to find the problem as mentioned

Pelar | June 4, 2009

Hey Dennis,

Took a while to find the problem as mentioned in this topic but it seems that onunload=”GUnload()” on the body is causing the problem for the styleswitcher.

Is it a problem if I remove that part? Is it necessary?

Guess it was pretty necessary, cuz it died on me

Pelar | June 11, 2009

Guess it was pretty necessary, cuz it died on me :)

Hi Pelar, the javascript in the body actually loads the

Dennis | June 11, 2009

Hi Pelar, the javascript in the body actually loads the map. So yeah, it is necessary. Javascript isn’t my strong point but my guess is those two scripts interfere. You might look for alternative ways for loading the googlemap. The function GUnload() is a function from Google and unloads the map properly. You might want to search Google with the keywords “javascript problem gunload”. This might turn something up.

Thanks for your answer. Got everything back to it's original (when

Pelar | June 11, 2009

Thanks for your answer.

Got everything back to it’s original (when it worked) but I still get a white screen? Tried to get it through Firebug and still can’t see what the issue is. First thought it was a Google problem, but the other commenters still have it working on their website.

It’s anoying me! :-/

And I'm wondering if it is a little bug that

Pelar | June 11, 2009

And I’m wondering if it is a little bug that slipped in while adding my latest photos (36 photos). But I don’t feel like deleting them and adding them again. Any other way to test it out?

And that was the problem, sorry for the third comment: I

Pelar | June 11, 2009

And that was the problem, sorry for the third comment:

I headed into the MYSQL, pixelpost_pixelpost column. The last photos (in my case the Rome photos, about 36 photos) I removed the ‘googlemap’ information for those photos (Longitude & Latitude). And guess what, it’s working again!

So my last conclusion that somekinda little bug slipped in was the problem I guess? We’ll never know what thing caused the exact problem.

And the 4th (sorry): But it's also the clustering option that

Pelar | June 11, 2009

And the 4th (sorry):

But it’s also the clustering option that causes problems. Tried several thing with the latest photos and the clustering option on and of and their both causing problems.

Last time, feeling bit stupid to be posting 5 comments

Pelar | June 11, 2009

Last time, feeling bit stupid to be posting 5 comments in a row, but you can make it one if you want :)

I scanned the last 36 photos one by one what was causing the problem. I finally found out what one was causing the problems, it had this exact title: One of the founains at Via delle Quattro Fontane”

As you can see there was by mistake a ” at the end of the title. I removed it and looked up the coordinates and it didn’t give me any problems anymore! So I guess the problem was as well for the clustering as the blanco page.

Just a tiny stupid thingy that messed it up :)

Ow yeah, titles can be confusing some times for the

Dennis | June 12, 2009

Ow yeah, titles can be confusing some times for the googlemap addon. As a programmers point of view I use strings which are encapsulated by single or double quotes (depending on my mood). If one of the string contains such a terminator, somewhere in the string, it will wreck havoc among the rest of the javascript code.

Although it can be easily fixed by both the addon and the Pixelpost core files (HTML entities come to mind), the current version online doesn’t have this fix. The unreleased V3.0 code on my site does, but that doesn’t help your problem a bit.

Not to worry about your five comments, when I do have the time I’ll merge them. Glad you got it fixed. =)

Hi, this is a great addon, thank you so much.

Pekka | July 23, 2009

Hi, this is a great addon, thank you so much. I’ve been using this for years I think.

Found a little bug in info window opening code. Line 1191 in admin_GoogleMap.php misses the clean_pic_thumb parameter in createMarkerLatestPic function call. Which causes the info window output to be wrong, of course. (I’m getting ‘undefined’ in the output.)

Keep up the good work!

[...] Plugin,, initially developed by my buddy Jay. As not

.::Schonhose.nl::. » Projects I’m currently working on | September 9, 2009

[...] Plugin,, initially developed by my buddy Jay. As not only the author but also user of both the Googlemap addon and the FTP security addon I needed to modify the Lightroom Export plugin to facilitate both GPS [...]

Great add-on. I've been using it on http://www.jespergarde.com ('View on

Jesper | September 15, 2009

Great add-on. I’ve been using it on http://www.jespergarde.com (‘View on map’ link in top bar) for a long time. Thanks for providing it!

I recently saw another way of using maps where a thumbnail map is added to each individual photo page showing where the photo was taken (ie. http://phototraces.net/image/pei_20081130/)

Would it be easy to re-use the coordinates I already entered for your GoogleMap icon for an image_template level thumbnail map?

Thanks,
Jesper Garde

[...] I found editing the theme to be pretty easy,

Photoblog Take 2 « [Insert Witty Title Here] | September 26, 2009

[...] I found editing the theme to be pretty easy, I’m toying with the idea of installing this add-on, which enables visitors to see where photos were taken on a Google Map.  I was interested in [...]

Excellent add-on, thanks for the work. I found one slight bug

Brian | June 24, 2010

Excellent add-on, thanks for the work.

I found one slight bug and would like to suggest a fix. I use geosetter to add gps info to the exif and then process in lightroom. As a result, the longitude and latitude are given as positive integers with a seperate key saying whether they are degrees north, south, east or west. This means anything west of the meridian or south of the equator will shop up wrongly when using the gps exif info. I’ve fixed this by modifying the addon php file with this code:

// try to get the GPS exif data
if (array_key_exists('LatitudeGPS', $exif_info)) {
if (array_key_exists('Longitude ReferenceGPS', $exif_info)){
if ($exif_info['Latitude ReferenceGPS']=='S') {
$latitudeGPS = '-' . $exif_info['LatitudeGPS'];
} else {
$latitudeGPS = $exif_info['LatitudeGPS'];
}
if ($exif_info['Longitude ReferenceGPS']=='W') {
$longitudeGPS = '-' . $exif_info['LongitudeGPS'];
} else {
$longitudeGPS = $exif_info['LongitudeGPS'];
}
}
else {
$latitudeGPS = $exif_info['LatitudeGPS'];
$longitudeGPS = $exif_info['LongitudeGPS'];
}
} else {
$latitudeGPS = NULL;
$longitudeGPS = NULL;
}

I hope you don’t mind! Thanks again.

Brain, thanks for the fix!

Dennis | June 28, 2010

Brain, thanks for the fix!

[...] alternative language support for templates. I also developed some

.::Schonhose.nl::. » The end of Pixelpost (at my blog) | August 9, 2010

[...] alternative language support for templates. I also developed some addons, one of the biggest the Googlemap addon to display images on the map. It is still a nice showcase of the addon power in Pixelpost because [...]

skinception rosacea reviews... .::Schonhose.nl::. » GoogleMap Addon...

skinception rosacea reviews | January 16, 2013

skinception rosacea reviews…

.::Schonhose.nl::. » GoogleMap Addon…

penile extender... .::Schonhose.nl::. » GoogleMap Addon...

penile extender | February 17, 2013

penile extender…

.::Schonhose.nl::. » GoogleMap Addon…

Recommended Browsing... .::Schonhose.nl::. » GoogleMap Addon...

Recommended Browsing | February 21, 2013

Recommended Browsing…

.::Schonhose.nl::. » GoogleMap Addon…

bestworkfromhomejobs.com.Au... .::Schonhose.nl::. » GoogleMap Addon...

bestworkfromhomejobs.com.Au | March 12, 2013

bestworkfromhomejobs.com.Au…

.::Schonhose.nl::. » GoogleMap Addon…

buy Xanax... .::Schonhose.nl::. » GoogleMap Addon...

buy Xanax | March 30, 2013

buy Xanax…

.::Schonhose.nl::. » GoogleMap Addon…

Navigation

  • Gallery
    • Oude Doos
  • PP Addons
    • Clickable Tags Addon
    • Comments Addon
    • DBManager Addon
    • Edit Exif Addon
    • EntryPage Addon
    • Flash Thumbnail Scroller Addon
    • FlashCropImage Addon
    • FTP permissions Addon
    • GoogleMap Addon
    • Http:BL Addon
    • Photonotes Addon

Countdown:

    No dates present

Tagcloud

3g addon allergic rhinitis backup basketball battery replacement Bob Marley budweiser bug Defensio design ebay exposition googlemaps HDR King layout update Lightroom Miscellaneous music paypal personal photoblog Photography Photoshop PHP Pixelpost pollens preview quote rant Touch UNC update videoclip vote Website Wordpress youtube

Flickr: latest uploads

Broeltorens, KortrijkNarcissus50 point dart140!StadskanaalEuroStaete building by nightThe end of summerFishermen memorial at KatwijkBranch in the sandFir cones
 

Paypal Donations

Why donate? Any donation will be considered a motivation to continue providing support and writing more plugins.

Please remember: it is not the amount but the thought that counts!
Amount: $

Twitter:

No public Twitter messages.

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox